Error right before T1 coregistration!

Submitted by Lisa_Kr on

Hello,

I hope you can help me. Right after the step of creating the AutoMasks I get the error of 

Generating AutoMasks finished

??? Index exceeds matrix dimensions.

Error in ==> DPARSFA_run>(parfor body) at 2753
            SPMJOB.matlabbatch{1,1}.spm.tools.dartel.mni_norm.template={[AutoDataProcessParameter.DataProcessDir,filesep,'T1ImgNewSegment',filesep,AutoDataProcessParameter.SubjectID{1},filesep,DirImg
            Error in ==> parallel_function at 491
            S = F(base, limit);

Error in ==> DPARSFA_run at 2627
    parfor i=1:AutoDataProcessParameter.SubjectNum

Error in ==> DPARSFA>pushbuttonRun_Callback at 1674
    [Error]=DPARSFA_run(handles.Cfg);

Error in ==> gui_mainfcn at 96
        feval(varargin{:});

Error in ==> DPARSFA at 30
    gui_mainfcn(gui_State, varargin{:});
 
??? Error while evaluating uicontrol Callback

 

and I really don't understand what exactly is wrong! I never had this happen before. I hope you have an idea!

Thanks,

Lisa

YAN Chao-Gan

Wed, 06/22/2016 - 06:22

Hi,

Did you performed New Segment and DARTEL?

After DARTEL, there should be template files under the first subject's directory. Please check.

Best

Chao-Gan