Hi everyone,
I have a series of files named like this:
Result_2017_5_24_13_44_IC.matResult_2017_5_24_13_54_MID.matResult_2017_5_25_13_20_SVO.matResult_2017_5_28_16_50_IC.matResult_2017_5_28_16_58_MID.matResult_2017_5_28_17_02_SVO.mat
I would like to load the files that have SVO, MID, and IC on its name separately. Is there a way of doing this? Right now I had to change the names of the files to something more simple to process. However, I would like to know a way of working with the files in their original name. The code I have right now works with the modification I do to the name:
for i=1:subjects files = [num2str(i) '_SVO.mat']; %name of the files to process
load(files); ...end
Many thanks, Ramiro
Best Answer