How to save data of each folders in cell array?
1 次查看(过去 30 天)
显示 更早的评论
I have four folders r1, r2, r3 and r4. I used for loop for each folders and read files and store data using if statement inside the for loop. But when script for r2 folder, it overwrites the first stored data in a cell array. How do I create different cell array for each folders so that I can store data of each folder in each cell array?
0 个评论
回答(2 个)
另请参阅
类别
在 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!