mixing string name and number,is my commmand correct??
Mostrar comentarios más antiguos
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 ?
Respuesta aceptada
Más respuestas (2)
Claude Porlier
el 17 de Oct. de 2014
Try using this !
for i=1:100
delete(strcat('filename',num2str(i)))
end
Cheers !
1 comentario
farzad
el 17 de Oct. de 2014
farzad
el 17 de Oct. de 2014
0 votos
Categorías
Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!