Info
この質問は閉じられています。 編集または回答するには再度開いてください。
how can I make changes on files in a folder?
1 回表示 (過去 30 日間)
古いコメントを表示
I have a folder with for example 20 files in .fig format and diffrent names. I want to do some changes to every file. How can I let matlab check every file, and then when it's format is .fig ,make the changes and then go to the next file?
thanks
0 件のコメント
回答 (1 件)
dpb
2014 年 1 月 9 日
Use dir on the folder for and appropriate wild card ('*.fig', maybe?) to get the list of files in the returned directory structure, then loop over it.
There are examples at the FAQ
0 件のコメント
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!