So i wanted a dynamic way to read 3 files from these folders with extensions .w1 , .w2 and .hdr into variables.
1 次查看(过去 30 天)
显示 更早的评论
回答(1 个)
Abhisek Pradhan
2019-8-27
One possible way is to store all the targeted folders inside the directory in a variable using dir function. Loop in each folder using the variable to get the desired files.
Refer the following link for more help:
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!