インポートファイルの番号の更新方法について
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
こんにちは。 以下のような連続番号のファイルをインポートしたいのですが、方法がわかりません。 例) AAAA0001 AAAA0002 ... AAAA0010 AAAA0011 ... AAAA0100 ...
もしAAAA1,AAAA2....AAAA100のようなファイル名であれば、以下のように記述できると思うのですが、 上記の例の場合はこれでは処理できません。
for i = 1:100 filename = sprintf('AAAA%d.csv', i); data{i} = importdata(filename); end
処理方法がわかる方、教えてください。
0 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Transportation Engineering dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!