Error with DPARSFA

Submitted by ShengChe on

Dear Chao-Gan,

I have error messages as follows when preprocessing f-MRI data.

These errors occurred early after realignment of BOLD data.

Where is the function of "file2mat"?

Thank you.

Alex

--------

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 859)
            FD_Jenkinson = y_FD_Jenkinson(rpname.name,RefFile);
 
 
Error in DPARSFA>pushbuttonRun_Callback (line 1761)
    [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