mixing string name and number,is my commmand correct??
Ältere Kommentare anzeigen
Hi All
Since I just dont remember and dont know how to search for this question
would like to know
for naming the file as :
for i=1:100
delete('filename'+num2str(i))
end
is it correct ?
Akzeptierte Antwort
Weitere Antworten (2)
Claude Porlier
am 17 Okt. 2014
Try using this !
for i=1:100
delete(strcat('filename',num2str(i)))
end
Cheers !
1 Kommentar
farzad
am 17 Okt. 2014
farzad
am 17 Okt. 2014
0 Stimmen
Kategorien
Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!