Error In DPARSFA

Submitted by yubing on

Matlab 2011,  Win2008 , SPM8,  REST Version: 1.8, Release: 20121225,

 DPARSF 4.1 advanced edition

Error massage is listed below.  Thank you!

Yu Bing

****************************************************************************

Undefined function 'file2mat' for input arguments of type 'struct'.

Error in file_array/subsref>subfun (line 80)
t = file2mat(sobj,varargin{:});

Error in file_array/subsref (line 60)
    t = subfun(sobj,args{:});

Error in nifti/subsref>rec (line 219)
            t = subsref(t,subs(2:end));

Error in nifti/subsref (line 45)
varargout = rec(opt,subs);

Error in DPARSFA_run>(parfor body) (line 578)
                    y_Write(Nii.dat(:,:,:,AutoDataProcessParameter.RemoveFirstTimePoints+1:end),Nii,DirImg(1).name);
                    
Error in parallel_function (line 491)
            S = F(base, limit);

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

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

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

Dear Dr.Yan:
 I have modified the path, the original error massage error disappeared, but another error appeared. 
 
 
Error using y_ExtractROISignal (line 187)
File doesn't exist or wrong ROI definition, please check:
E:\20160617000008\TestVM\Masks\WarpedMasks\1_WhiteMask_09_91x109x91.nii.
 
 
Error in DPARSFA_run>(parfor body) (line 2602)
                y_ExtractROISignal([AutoDataProcessParameter.DataProcessDir,filesep,FunSessionPrefixSet{iFunSession},AutoDataProcessParameter.StartingDirName,filesep,AutoDataProcessParameter.SubjectI
                Error in parallel_function (line 473)
            F(base, limit);
 
Error in DPARSFA_run (line 2457)
        parfor i=1:AutoDataProcessParameter.SubjectNum
 
Error in DPARSFA>pushbuttonRun_Callback (line 1779)
    [Error]=DPARSFA_run(handles.Cfg);
 
Error in gui_mainfcn (line 96)
        feval(varargin{:});
 
Error in DPARSFA (line 30)
    gui_mainfcn(gui_State, varargin{:});
 
Error while evaluating uicontrol Callback

Hi,

As you didn't use T1 images for spatial normalization.

Please select the nuisance covarites regression checkbox after spatial normalization (right before ALFF/fALFF checkbox).

yubing

Tue, 06/28/2016 - 02:13

In reply to by YAN Chao-Gan

Hi:

I hvave got it,Thank you.

Yu Bing

yubing

Mon, 10/03/2016 - 15:04

In reply to by yubing

加入结构相以后 新的报错如下

Undefined function 'file2mat' for input arguments of type
'struct'.

Error in file_array/subsref>subfun (line 80)
t = file2mat(sobj,varargin{:});

Error in file_array/subsref (line 60)
    t = subfun(sobj,args{:});

Error in nifti/subsref>rec (line 219)
            t = subsref(t,subs(2:end));

Error in nifti/subsref (line 45)
varargout = rec(opt,subs);

Error in y_Read (line 68)
    Data = squeeze(double(Nii.dat(:,:,:,VolumeIndex)));

Error in y_FD_Jenkinson (line 31)
[RefData, RefHead] = y_Read(ReferenceImage,1);

Error in DPARSFA_run (line 863)
            FD_Jenkinson =
            y_FD_Jenkinson(rpname.name,RefFile);

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

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

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

Hello,

 

after deleting the spm5 files from the REST folder i got this!

 
Error using DPARSFA_run (line 1558)
Index exceeds matrix dimensions.
 
Error in DPARSFA>pushbuttonRun_Callback (line 1779)
    [Error]=DPARSFA_run(handles.Cfg);
 
 
Error in gui_mainfcn (line 95)
        feval(varargin{:});
 
Error in DPARSFA (line 30)
    gui_mainfcn(gui_State, varargin{:});
 
 

 

Error while evaluating UIControl Callback
 
 
 
Any help to know what should i do next?

Hello I got the same error, and i read the answer was to remove all REST path!

What does this mean? i didnt understand the answer! Any help?

Thank you in advance,

 

Walid