Error in DPARSFA

Submitted by HpaulFr on

Hi, we are using your toolbox DPARSFA (v4.2) with matlab R2014b

We followed the tutorial concerning the folder structure.
We selected  this parameters  :

When we compute the data, we have the following error message :

Moving Head Motion Corrected Files:Sub4 OKMoving Head Motion Corrected Files:Sub3 OKMoving Head Motion Corrected Files:Sub2 OKMoving Head Motion Corrected Files:Sub1 OK
Undefined function 'y_Read' for input arguments of type 'char'.

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

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


Error in DPARSFA>pushbuttonRun_Callback (line 1783)
    [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 CallbackMoving Head Motion Corrected Files:Sub4 OKMoving Head Motion Corrected Files:Sub3 OKMoving Head Motion Corrected Files:Sub2 OKMoving Head Motion Corrected Files:Sub1 OK
Undefined function 'y_Read' for input arguments of type 'char'.

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

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


Error in DPARSFA>pushbuttonRun_Callback (line 1783)
    [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

 

 

 

Thanks for your help


Best regards

Paul H.

David Vogelsang

Wed, 02/15/2017 - 19:21

Hi Paul,

It looks like you did not add the dpabi folder to your matlab path. So make sure the dpabi folder and subfolders are added to your matlab path, then it should run. 

 

Best wishes,

 

David