So i wanted a dynamic way to read 3 files from these folders with extensions .w1 , .w2 and .hdr into variables.
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/235182/image.jpeg)
0 Kommentare
Antworten (1)
Abhisek Pradhan
am 27 Aug. 2019
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 Kommentare
Siehe auch
Kategorien
Mehr zu File Operations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!