Error using y_ExtractROISignal (line 239)

Submitted by veeus18 on
Hell0,
I have 3 groups of subjects, and I am using a ROIList.mat file for all 3 groups. It works without issues for 2 groups. For the third, it gives below error. What does it mean?-
 
------------------------------
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.  See the documentation for 'parallel.Pool/addAttachedFiles' for more details.
 
Error in DPARSFA_run (line 2501)
        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.
 
-------------------------
 
Thank you.

Hi,

I also have a problem using "Error using y_ExtractROISignal; Undefined function or variable 'MaskROILabel'."

I created a mask in xjview - but as fas as I undestood there migth be more than one label within my mask file? Even though I picked the specific cluster?

I would very appretiate that if you could help me with that!

 

 

Thank you for your reply! Where do I define the ROI file then?

Also, I would like to extract ROI signal for ALFF, how could I do it? I tired with ExtractROISignal, but I get the same value for every participant.

I would very appreciate that if you could help me with this!

 

I am also getting the same error. Even though I had defined the ROI with the AAL labels.

File doesn't exist or wrong ROI definition, please check:
A:\adni2\Masks\WarpedMasks\Sub_001_WhiteMask_09_91x109x91.nii.

But the file "Sub_001_WhiteMask_09_91x109x91.nii" doesn't exist

Please help.