インポートファイルの番号の更新方法について
4 views (last 30 days)
Show older comments
こんにちは。 以下のような連続番号のファイルをインポートしたいのですが、方法がわかりません。 例) AAAA0001 AAAA0002 ... AAAA0010 AAAA0011 ... AAAA0100 ...
もしAAAA1,AAAA2....AAAA100のようなファイル名であれば、以下のように記述できると思うのですが、 上記の例の場合はこれでは処理できません。
for i = 1:100 filename = sprintf('AAAA%d.csv', i); data{i} = importdata(filename); end
処理方法がわかる方、教えてください。
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Transportation Engineering in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!