I am trying to find a list of jpg files but also using filesep (to break the names of the files) in one line
dir([folder,[filesep '*.' 'jpg']]).
The above command works for me. But I also want to find the files that include in their name a specific word like 'blue' but when I tried to use
dir([folder,[filesep '*.' '*blue*jpg']])
it did not work, the program does not find any files at all. Is there anyway to do this in one line? Thank you.