DPARSF error when doing nuisance covariance regression

Submitted by Qiuxia on

Hi,

When I tried to do the nuisance covariance regression in matlab 2018b, I got error as following:

Undefined variable "Cfg" or class "Cfg.ParallelWorkersNumber".
 
Error in DPARSFA_run (line 1461)
if isempty(gcp('nocreate')) && Cfg.ParallelWorkersNumber~=0
 
Error in DPARSFA>pushbuttonRun_Callback (line 1795)
    [Error]=DPARSFA_run(handles.Cfg);
 
Error in gui_mainfcn (line 95)
        feval(varargin{:});
 
Error in DPARSFA (line 30)
    gui_mainfcn(gui_State, varargin{:});
 
Error using uiwait (line 81)
Error while evaluating UIControl Callback.
 
Looking forward to any reply!

Thanks for your reply!

But then a new error came out in the same process:

Error using DPARSFA_run (line 3196)
Index exceeds array bounds.
Error in DPARSFA>pushbuttonRun_Callback (line 1795)
    [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 reply!

And then a new error came out in the same process:

 

Error using DPARSFA_run (line 3196)
Index exceeds array bounds.
Error in DPARSFA>pushbuttonRun_Callback (line 1795)
    [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.