how write files using for loop

*hi how I can write textfiles to directory using for loop for example the files with name 01.txt..............09.txt, 10.txt
thanks*

Risposte (1)

for k=1:10
filename=sprintf('%d.txt',k)
%do
end

Categorie

Scopri di più su Files and Folders in Centro assistenza e File Exchange

Tag

Richiesto:

il 20 Apr 2014

Commentato:

il 21 Apr 2014

Community Treasure Hunt

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

Start Hunting!

Translated by