Submitted by pallabi_sengupta on Thu, 04/27/2017 - 18:07
Hello!
I am trying to use DPARSF to preprocess my data. However, after opening DPABI when I click the DPARSF Basic Edition button, I'm getting this error message:
Undefined function or variable 'DPARSF'.
Error in dpabi>pushbutton_DPARSFB_Callback (line 141)
DPARSF
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in dpabi (line 42)
gui_mainfcn(gui_State, varargin{:});
Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)dpabi('pushbutton_DPARSFB_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback
I understand that the problem is with the GUI but I don't know ho to fix it.
Thanks,
Pallabi
Submitted by gaolei6096 on Fri, 04/28/2017 - 21:03 Permalink
Re: Error in calling DPARSF
Dear Pallabi, please add the folder and subfolders of the DPABI to the path of your MATLAB.
Submitted by pallabi_sengupta on Thu, 05/04/2017 - 16:53 Permalink
Re: Error in calling DPARSF
Thank you. It is running smoothly now. However, now I'm trying to use the demodata and getting the following error:
Submitted by gaolei6096 on Fri, 05/05/2017 - 09:07 Permalink
Re: Error in calling DPARSF
Dear Pallabi, please see below.
This error message is a data-importing failure. What it’s telling you is that *.nii files in the FunImg directory are missing, or the directory does not exist.
(1) Please remove the space in your working path (between pallavi and sengupta C:\Users\pallavi sengupta\);
(2) Set current working path as, for example, C:\Users\pallavisengupta\Downloads\ProcessingDemoData (note there is no space between pallavi and sengupta) your working directory of MATLAB;
(3) Launch DPARSFA by typing dparsfa in MATLAB’s workspace, then click ENTER in the lower right corner of gui-panel (FunRaw by defaults, make sure that some parameters, such as time points, TR, slice-timing parameters, are modified correspondingly);
(4) Run, and enjoy.
Good luck
Submitted by mustafa bayraktar on Wed, 01/10/2018 - 08:40 Permalink
Re: Error in calling DPARSF
I did set path. DPABI is in the path of my MATLAB. However, I still get the same error.
What else should I do?
Submitted by mustafa bayraktar on Wed, 01/10/2018 - 09:08 Permalink
Re: Error in calling DPARSF
I figured it out.