フィルターのクリア

avoid reading files in alphabetical order Matlab dir

2 ビュー (過去 30 日間)
chanukya
chanukya 2013 年 4 月 4 日
Hi, I am trying to read all the text files in a folder to matlab. The naming of the files start from 1 to 30.ex: file1, file2, file3....file10,file11....file20,file21...file30..file33 When I use dir(fullfile(myFolder, '*.txt'), it forms a structure but reading the files in alphabetical order like file1,file10,file11,...file2,file20,...file3.... How can I avoid this. I need to read the files as they appear in the folder. Thanks

採用された回答

Ilham Hardy
Ilham Hardy 2013 年 4 月 4 日

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeFile Operations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by