I am working with SPM12 to do ROI analysis:
I loaded the image files of a single subject (preprocessed images files which contains the BOLD signals) via :
P = spm_select('list','D:\face_rep\RawEPI','^swar.*\.img');
Here I am dealing with the "Face fMRI data" from http://www.fil.ion.ucl.ac.uk/spm/data/face_rep/.
When I ran spm_vol (P), the following error showed up in MATLAB command window
??? Error using ==> spm_vol>spm_vol_hdr at 80
File "swarsM03953_0005_0006.img" does not exist.
Error in ==> spm_vol at 61
v = spm_vol_hdr(deblank(P(i,:)));
is the order of the images files cause the problem? If yes, how can I fix it?
Anyone has any suggestions?
|