mixing string name and number,is my commmand correct??
Afficher commentaires plus anciens
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 ?
Réponse acceptée
Plus de réponses (2)
Claude Porlier
le 17 Oct 2014
Try using this !
for i=1:100
delete(strcat('filename',num2str(i)))
end
Cheers !
1 commentaire
farzad
le 17 Oct 2014
farzad
le 17 Oct 2014
0 votes
Catégories
En savoir plus sur Spreadsheets dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!