My question is how to use MATLAB to search for a certain type of files in a folder. I give an example to detail on my question:
Suppose we have the following folder as well as files in it:
My_folder
Sub_folder1
Sub_sub_folder1
a.txt
1.txt
2.txt
Sub_folder2
3.txt
abc.txt
In this example, I want to find all the .txt files in My_folder as well as its sub-folders. I was wondering what I could do with MATLAB. Thanks!
glob('*.txt')) and the Matlab documentation can be a bit hard to follow (eg some things are not nesc where one would expect) - Lyndon Whitedir('**/*.txt')in Matlab >R2016 - Brethlosze