I am using the following code to read all files from a folder:
Files=dir('*');for k=1:length(Files) FileNames=Files(k).name;end
However I want to read the files which names begin with "word" not just all files in folder. How can I perform such task?
Best Answer