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

Réponses (1)

Azzi Abdelmalek
Azzi Abdelmalek le 20 Avr 2014

1 vote

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

Catégories

En savoir plus sur Files and Folders dans Centre d'aide et File Exchange

Tags

Question posée :

le 20 Avr 2014

Commenté :

le 21 Avr 2014

Community Treasure Hunt

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

Start Hunting!

Translated by