mixing string name and number,is my commmand correct??
古いコメントを表示
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 ?
採用された回答
その他の回答 (2 件)
Claude Porlier
2014 年 10 月 17 日
Try using this !
for i=1:100
delete(strcat('filename',num2str(i)))
end
Cheers !
カテゴリ
ヘルプ センター および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!