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

답변 (1개)

Azzi Abdelmalek
Azzi Abdelmalek 2014년 4월 20일

1 개 추천

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

카테고리

도움말 센터File Exchange에서 Files and Folders에 대해 자세히 알아보기

태그

질문:

2014년 4월 20일

댓글:

2014년 4월 21일

Community Treasure Hunt

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

Start Hunting!

Translated by