DPARSFA报错

老师,您好!
我在使用DPARSFA处理数据的时候报错了,请问这是什么问题呢?应该怎么解决呢? 

报错的代码如下:
??? Error using ==> load

Unable to read file
C:\****(工作路径)\T1ImgNewSegment\sub001\Template_6_2mni.mat: No
such file or directory.
 
Error in ==> y_WarpBackByDARTEL at 33
T_MNI_Affine=load(DARTELTemplateMatFilename);
 
Error in ==> DPARSFA_run>(parfor body) at 1850
                y_WarpBackByDARTEL(MasksName,OutFile,RefFile,DARTELTemplateFilename,DARTELTemplateMatFilename,FlowFieldFilename,Interp);
                
Error in ==> parallel_function at 473
            F(base, limit);
 
Error in ==> DPARSFA_run at 1825
            parfor i=1:AutoDataProcessParameter.SubjectNum
 
Error in ==> DPARSFA>pushbuttonRun_Callback at 1601
    [Error]=DPARSFA_run(handles.Cfg);
 
Error in ==> gui_mainfcn at 96
        feval(varargin{:});
 
Error in ==> DPARSFA at 33
    gui_mainfcn(gui_State, varargin{:});
 
??? Error while evaluating uicontrol Callback

期待您的解答,谢谢!

 好的 我试一下 用您说的这种方法是可以的

但是请问老师 为什么会出现这样的问题呢?为什么用DARTEL的方法做nomolization就报错呢?

 我对dartel不熟, 错误提示找不到一个中间步骤生成的文件,表示要么你没有做完dartel就出错了,要么就是设置错误,要用到本来dartel应该生成的配准中生成的template结果但是你实际上并没有得到这个结果。

老师您好!
我今天升级了SPM8,用DARTEL的方法进行normalization,可是又报错了……内容如下:

Extracting ROI signals...
Read 3D EPI functional images: "C:\……(工作路径)\T1ImgCoreg\20111219_05_ZHOUY_POST_QUANSHAOJIE".
??? Error using ==> y_ExtractROISignal at 179
 
Mask does not match.
Mask size is 64x64x33, not same with required size 144x216x187
 
Error in ==> DPARSFA_run>(parfor body) at 2111
                y_ExtractROISignal([AutoDataProcessParameter.DataProcessDir,filesep,FunSessionPrefixSet{iFunSession},AutoDataProcessParameter.StartingDirName,filesep,AutoDataProcessParameter.SubjectI
                Error in ==> parallel_function at 473
            F(base, limit);
 
Error in ==> DPARSFA_run at 2012
        parfor i=1:AutoDataProcessParameter.SubjectNum
 
Error in ==> DPARSFA>pushbuttonRun_Callback at 1601
    [Error]=DPARSFA_run(handles.Cfg);
 
Error in ==> gui_mainfcn at 96
        feval(varargin{:});
 
Error in ==> DPARSFA at 33
    gui_mainfcn(gui_State, varargin{:});
 
??? Error while evaluating uicontrol Callback