how write files using for loop

1 Ansicht (letzte 30 Tage)
nada ali
nada ali am 20 Apr. 2014
Kommentiert: nada ali am 21 Apr. 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*

Antworten (1)

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

Kategorien

Mehr zu Adding custom doc finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by