使用DPARSF时遇见的问题

     在做SLICE TIMING时报错

??? 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 1379
        feval(prog,val);
 
Error in ==> spm_jobman>run_struct1 at 1387
            run_struct1(c.val{i});
 
Error in ==> spm_jobman>run_struct1 at 1387
            run_struct1(c.val{i});
 
Error in ==> spm_jobman>run_job at 381
    run_struct1(c);
 
Error in ==> spm_jobman at 75
        run_job(varargin{2});
 
Error in ==> DPARSF_run at 212
        spm_jobman('run',jobs);
 
Error in ==> DPARSF>pushbuttonRun_Callback at 841
    [Error]=DPARSF_run(handles.Cfg);
 
Error in ==> gui_mainfcn at 75
        feval(varargin{:});
 
Error in ==> DPARSF at 33
    gui_mainfcn(gui_State, varargin{:});
 
??? Error while evaluating uicontrol Callback.

我扫的是34层的图像,怎么解决呢?请指教,谢谢

      

Hi!
Please paste the parameters you used for slice timing here. You need to ensure the parameters is correct.
Best wishes!

Hi!
If your slice number is 34, then the slice order can not be 1.3.5.7.9.11.
Please check your parameters, or your can went to the Course (http://www.restfmri.net/forum/Course) to get more information for setting parameters.
Best wishes!

Slice timing 的问题解决了,又出现以下错误,请指教
Running "Normalise: Estimate & Write"
Smoothing by 0 & 8mm..
Coarse Affine Registration..
Fine Affine Registration..
3D CT Norm...
 iteration  1:  FWHM =  21.34 Var = 37.7684
 iteration  2:  FWHM =  15.39 Var = 4.27959
 iteration  3:  FWHM =  14.43 Var = 2.6987
 iteration  4:  FWHM =  14.07 Var = 2.23153
 iteration  5:  FWHM =  13.92 Var = 2.04253
 iteration  6:  FWHM =  13.86 Var = 1.96424
 iteration  7:  FWHM =  13.82 Var = 1.91572
 iteration  8:  FWHM =   13.8 Var = 1.88973
 iteration  9:  FWHM =  13.77 Var = 1.86976
 iteration 10:  FWHM =  13.77 Var = 1.86115
 iteration 11:  FWHM =  13.75 Var = 1.85117
 iteration 12:  FWHM =  13.75 Var = 1.84838
 iteration 13:  FWHM =  13.75 Var = 1.84793
 iteration 14:  FWHM =  13.75 Var = 1.84756
 iteration 15:  FWHM =  13.75 Var = 1.84534
 iteration 16:  FWHM =  13.75 Var = 1.84479
Saving Parameters..
Moving Normalized Files:Sub_001 OK
??? Undefined command/function 'rest_misc'.

Error in ==> DPARSF_rest_sliceviewer at 582
 rest_misc( 'DisplayLastException');

Error in ==> DPARSF_rest_sliceviewer at 27
  varargout{1}=DPARSF_rest_sliceviewer('ShowImage',''); %by Default, I show a black brain image

Error in ==> DPARSF_run at 458
    h=DPARSF_rest_sliceviewer;

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

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

Error in ==> DPARSF at 33
    gui_mainfcn(gui_State, varargin{:});

??? Error while evaluating uicontrol Callback.
 

DPARSF need you install REST V1.3 or later first.
Best wishes.

    我用的版本REST V1.3,今天又试了一次,还是报同样的错。突然发现我用的MatLab是7.1,这有影响吗?

Please add the REST's Path to MATLAB's Program path.
Just type "which rest_misc", then you can check if REST is installed correctlly.
Best wishes!

I think you will not meet the error "??? Undefined command/function 'rest_misc'." now.
But there is another issue, please install the Image Processing Toolbox for MATLAB.