Parallel pool error

Submitted by vascosadiogo on

Hello,

I have been running DPARSF for a while without any issues. However, since yesterday, I have been getting this error when I try to use a parallel pool:

 Warning: File: DPARSFA_run.m Line: 4438 Column: 32

The temporary variable DirImg will be cleared at the beginning of each iteration of the parfor loop.
Any value assigned to it before the loop will be lost.  If DirImg is used before it is assigned in the
parfor loop, a runtime error will occur.
See Parallel for Loops in MATLAB, "Temporary Variables". 
> In DPARSFA>pushbuttonRun_Callback (line 1795)
  In gui_mainfcn (line 95)
  In DPARSFA (line 30)
  In uiwait (line 81)
  In DPARSFA>checkboxNormalizeResults_Callback (line 1145)
  In gui_mainfcn (line 95)
  In DPARSFA (line 30) 
 
Any clue as to what might be going on? The program just gets stuck like this. Without a parpool it works fine.
 
Best,
Vasco