Search through folders and subfolders to collect data saved as a certain name
1 view (last 30 days)
Show older comments
I've read documentation on different sectionf of this problem but I don't quite understand how to structure the script to search through dubfolders to pull out a .mat saved under a certain name "Data01.mat", "Data02.mat". I'll be taking this script to also save in the same folder with a slightly different name as well.
2 Comments
Rik
on 12 May 2020
Using dir with a double asterisk should do the trick. Do you want to find all mat files in your folders?
Answers (1)
See Also
Categories
Find more on File Operations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!