I need to skip some specific files in different sub-folders. for example if the filename not contains string charchters such as raw, info, do some operations.
dirName = 'D:\Neda\Pytorch\CAMUS\training\';fileList = SureScan_getAllFiles(dirName);for k = 1:length(fileList)-50filename = fileList{k};%if filename not contain 'raw') | 'Info_' | 'sequence.mhd' | '_sequence'
% do some operation
endend
Best Answer