nuisance regression error

Extracting ROI signals...Error using y_ExtractROISignal (line 239)
An UndefinedFunction error was thrown on the workers for 'MaskROILabel'.  This might be because the file
containing 'MaskROILabel' is not accessible on the workers.  Use addAttachedFiles(pool, files) to specify the
required files to be attached.  For more information see the documentation for 'parallel.Pool/addAttachedFiles'.
 
Error in DPARSFA_run (line 2520)
        parfor i=1:AutoDataProcessParameter.SubjectNum
 
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{:});
 
Caused by:
    Undefined function or variable 'MaskROILabel'.
 
Error while evaluating UIControl Callback.
 
Thanks!
 

Forums:

How did you define the nuisance ROIs?