how write files using for loop

조회 수: 1 (최근 30일)
nada ali
nada ali 2014년 4월 20일
댓글: nada ali 2014년 4월 21일
*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일
for k=1:10
filename=sprintf('%d.txt',k)
%do
end

카테고리

Help CenterFile Exchange에서 Adding custom doc에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by