DPARSF 出错

DPARSF 2.2
REST 1.8
Matlab 2011b
WINDOWS 2008

出错信息

Index exceeds matrix dimensions.

Error in y_Normalize_WriteToMNI_DARTEL (line 47)
SPMJOB.matlabbatch{1,1}.spm.tools.dartel.mni_norm.data.subj(1,1).flowfield={[T1ImgNewSegmentDir,filesep,SubjectID,filesep,DirImg(1).name]};

Error in DPARSFA_run>(parfor body) (line 2559)
                    y_Normalize_WriteToMNI_DARTEL(SubjectID_Temp,SourceDir_Temp,OutpurDir_Temp,T1ImgNewSegmentDir,DARTELTemplateFile,IsSubDirectory,BoundingBox,VoxSize)
                   
Error in parallel_function (line 473)
            F(base, limit);

Error in DPARSFA_run (line 2508)
        parfor i=1:AutoDataProcessParameter.SubjectNum

Error in DPARSFA>pushbuttonRun_Callback (line 1569)
    [Error]=DPARSFA_run(handles.Cfg);

Error in gui_mainfcn (line 96)
        feval(varargin{:});

Error in DPARSFA (line 33)
    gui_mainfcn(gui_State, varargin{:});
 
Error while evaluating uicontrol Callback

多谢指教!

Please make sure you did run New segment and DARTEL beforehand.

Also, make sure all the subjects have files under T1ImgNewSegment to continue the step you wanted.