How to read all .csv files from a folder in an order?
2 次查看(过去 30 天)
显示 更早的评论
My programme is not reading the files in a proper order. The order of the files is sky_0, sky_1, sky_2,... sky_2001.
But it is reading in the order sky_0, sky_1, sky_10, sky_1000, sky_1001,... sky_1009, sky_10,...
Can anybody help me to read it in the right order?
采纳的回答
Walter Roberson
2020-12-4
14 个评论
Walter Roberson
2020-12-9
One of your files doesn't have 5 columns
When the program stops look at N{idx} for the name of the problem file
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 File Operations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!