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
  1 件のコメント
nada ali
nada ali 2014 年 4 月 21 日
Thank u so much

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeAdding custom doc についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by