I have a regular expression defining the filenames of interest. What is the best way to list all files in a directory that match this condition?
My attempt at this i
My loop variation:
ext = [".doc",".docx",".rtf"]; f = []; for e = ext f = [f;dir(char(strcat('**/*',e)))]; end f = f([f.isdir] == 0);