how to save data with name changing by number

4 vues (au cours des 30 derniers jours)
UTA
UTA le 18 Sep 2013
Hi guys:
I want to save data with changing name as follow:
for i = 1: 100
outputString = sprintf('Multicandidate_centers_%d', i)
save outputString
end
Actually I want save the name as Multicandidate_centers_1, which the last number changed as the i changed.
Thank you so much!

Réponses (1)

Azzi Abdelmalek
Azzi Abdelmalek le 18 Sep 2013
use
save(outputString)

Catégories

En savoir plus sur Automotive dans Help Center et File Exchange

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by