how write files using for loop

1 visualización (últimos 30 días)
nada ali
nada ali el 20 de Abr. de 2014
Comentada: nada ali el 21 de Abr. de 2014
*hi how I can write textfiles to directory using for loop for example the files with name 01.txt..............09.txt, 10.txt
thanks*

Respuestas (1)

Azzi Abdelmalek
Azzi Abdelmalek el 20 de Abr. de 2014
for k=1:10
filename=sprintf('%d.txt',k)
%do
end

Categorías

Más información sobre Adding custom doc en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by