Error applying Reorient Mats

Submitted by Anonymous (not verified) on

I tried the suggestion of keeping the reorientation .mat files and changing the name of their directory to DownloadedReorientMats in order to skip the reorientation.

But, this error came up:  (by the way, the error below comes after some warnings about SliceOrder and RefFile being cleared before the reiteration of each parfor loop -- I assume these warnings were unrelated and unimportant).

Thanks for your help

___________________________

 

Apply Downloaded Reorient Mats to functional images for Subject002: OK
Apply Downloaded Reorient Mats to functional images for Subject001: OK
Error using fileparts (line 34)
Input must be a row vector of characters.
 
Error in spm_fileparts (line 17)
[pth,nam,ext] = fileparts(fname);
 
Error in spm_get_space (line 14)
[pth,nam,ext,num] = spm_fileparts(P);
 
Error in DPARSFA_run>(parfor body) (line 391)
            OldMat = spm_get_space(FileList);
 
Error in DPARSFA_run (line 357)
    parfor i=1:AutoDataProcessParameter.SubjectNum
 
Error in DPARSFA>pushbuttonRun_Callback (line 1601)
    [Error]=DPARSFA_run(handles.Cfg);
 
Error in gui_mainfcn (line 96)
        feval(varargin{:});
 
Error in DPARSFA (line 33)
    gui_mainfcn(gui_State, varargin{:});
 
Caused by:
    Error using fileparts (line 34)
    Input must be a row vector of characters.
 
Error while evaluating uicontrol Callback

YAN Chao-Gan

Mon, 10/21/2013 - 17:42

Hi,

I think the files under your starting directory (I guess you specified as FunImg) is not clean enough. Could you have a check on the files under each subject's directory of FunImg?

Best,

Chao-Gan