用DPARSF做slice timing时报错

严老师,您好:
  我是一名神经病学的博士生,以往搞临床工作对fMRI不熟悉,最近开始准备做磁共振相关的课题。我从美德公司处找来这次在成都讲座发的学习资料,根据里面提供的软件(DPARSF-V1.0, REST2007V1.3, SPM5以及SPM5 Updates)在MATLAB 7.90(R2009b)平台上应用DPARSF对学习资料中的数据进行预处理,但是在进行到slice timing时出现了错误,下面一张图是我用DPARSF进行数据预处理的设置:

在按下Run运行后出现了报错:Removing First 10Time Points:Sub_001 OKRemoving First 10Time Points:Sub_002 OKRemoving First 10Time Points:Sub_003 OK
Slice Timing Setup:Sub_001 OKSlice Timing Setup:Sub_002 OKSlice Timing Setup:Sub_003 OK
Warning: In the directory "E:\Program Files\MR softs and data\Softs\Updates_3381", spm_unlink.mexw32 now shadows spm_unlink.dll.
 Please see the MATLAB 7.1 Release Notes.
> In spm_config at 215
  In spm_jobman>initialise_struct at 2426
  In spm_jobman>run_job at 480
  In spm_jobman at 89
  In DPARSF_run at 223
  In DPARSF>pushbuttonRun_Callback at 924
  In gui_mainfcn at 96
  In DPARSF at 38
Warning: In the directory "E:\Program Files\MR softs and data\Softs\Updates_3381", spm_global.mexw32 now shadows spm_global.dll.
 Please see the MATLAB 7.1 Release Notes.
> In spm_config at 215
  In spm_jobman>initialise_struct at 2426
  In spm_jobman>run_job at 480
  In spm_jobman at 89
  In DPARSF_run at 223
  In DPARSF>pushbuttonRun_Callback at 924
  In gui_mainfcn at 96
  In DPARSF at 38
--------------------------
Running "Slice Timing"
Warning: In the directory "E:\Program Files\MR softs and data\Softs\Updates_3381", spm_slice_vol.mexw32 now shadows spm_slice_vol.dll.
 Please see the MATLAB 7.1 Release Notes.
> In spm_config_slice_timing>slicetiming at 170
  In spm_jobman>run_struct1 at 1587
  In spm_jobman>run_struct1 at 1597
  In spm_jobman>run_struct1 at 1597
  In spm_jobman>run_job at 482
  In spm_jobman at 89
  In DPARSF_run at 223
  In DPARSF>pushbuttonRun_Callback at 924
  In gui_mainfcn at 96
  In DPARSF at 38

SPM5: spm_slice_timing (v$Rev: 671 $)              20:17:37 - 21/04/2010
========================================================================
Warning: In the directory "E:\Program Files\MR softs and data\Softs\Updates_3381", file2mat.mexw32 now shadows file2mat.dll.
 Please see the MATLAB 7.1 Release Notes.
> In nifti.subsref>rec at 219
  In nifti.subsref at 45
  In spm_vol_nifti at 19
  In spm_vol>subfunc at 141
  In spm_vol>subfunc1 at 87
  In spm_vol>subfunc2 at 73
  In spm_vol at 57
  In spm_slice_timing at 130
  In spm_config_slice_timing>slicetiming at 170
  In spm_jobman>run_struct1 at 1587
  In spm_jobman>run_struct1 at 1597
  In spm_jobman>run_struct1 at 1597
  In spm_jobman>run_job at 482
  In spm_jobman at 89
  In DPARSF_run at 223
  In DPARSF>pushbuttonRun_Callback at 924
  In gui_mainfcn at 96
  In DPARSF at 38
Your TR is 2.6
Warning: In the directory "E:\Program Files\MR softs and data\Softs\Updates_3381", mat2file.mexw32 now shadows mat2file.dll.
 Please see the MATLAB 7.1 Release Notes.
> In nifti.subsasgn>assigndat at 361
  In nifti.subsasgn>fun at 76
  In nifti.subsasgn at 20
  In spm_create_vol>create_vol at 79
  In spm_create_vol at 16
  In spm_slice_timing at 192
  In spm_config_slice_timing>slicetiming at 170
  In spm_jobman>run_struct1 at 1587
  In spm_jobman>run_struct1 at 1597
  In spm_jobman>run_struct1 at 1597
  In spm_jobman>run_job at 482
  In spm_jobman at 89
  In DPARSF_run at 223
  In DPARSF>pushbuttonRun_Callback at 924
  In gui_mainfcn at 96
  In DPARSF at 38
??? Improper assignment with rectangular empty matrix.

Error in ==> spm_slice_timing at 228
    phi(f+1) = -1*shiftamount*2*pi/(len/f);

Error in ==> spm_config_slice_timing>slicetiming at 170
    spm_slice_timing(P,Seq,refslice,timing)

Error in ==> spm_jobman>run_struct1 at 1587
        feval(prog,val);

Error in ==> spm_jobman>run_struct1 at 1597
            run_struct1(c.val{i},gui);

Error in ==> spm_jobman>run_struct1 at 1597
            run_struct1(c.val{i},gui);

Error in ==> spm_jobman>run_job at 482
    run_struct1(c,gui);

Error in ==> spm_jobman at 89
            run_job(varargin{2});

Error in ==> DPARSF_run at 223
        spm_jobman('run',jobs);

Error in ==> DPARSF>pushbuttonRun_Callback at 924
    [Error]=DPARSF_run(handles.Cfg);

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

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

我不清楚是SPM软件问题呢还是我操作出了问题,期盼严老师回答,谢谢!

你好!
在设置Slice Timing参数时你设错了。上次给的那套数据:Slice number: 33, Slice order: [1:2:33,2:2:32], reference slice: 33
      祝一切顺利!
超赣