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!