Realignment error - DPARSFA

Dear

I am getting the following error after trying to run realignment on DPARSF A:

 

 

Error using cfg_util (line 835)

Job execution failed. The full log of this run can be found in MATLAB command window, starting with the lines (look
for the line showing the exact #job as displayed in this error message)
------------------
Running job #1
------------------
 
 
Error in spm_jobman (line 217)
 
 
 
Error in DPARSFA_run>(parfor body) (line 766)
 
 
 
Error in DPARSFA_run (line 725)
    parfor i=1:AutoDataProcessParameter.SubjectNum
 
 
Error in DPARSFA>pushbuttonRun_Callback (line 1779)
    [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
 
Any help would be appreciated.
 
Thanks you in advance.
 
 

Forums:

You need to copy more lines here.

 
 
Dear Yan,
 
this is the whole error.
I have already run these analyses before, I don't understand.
 
I hope you can help me.
 
 
Warning: File: DPARSFA_run.m Line: 680 Column: 66
The temporary variable SliceOrder 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 SliceOrder 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 at 1779
  In gui_mainfcn at 95
  In DPARSFA at 30 
Warning: File: DPARSFA_run.m Line: 935 Column: 83
The temporary variable RefFile 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 RefFile 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 at 1779
  In gui_mainfcn at 95
  In DPARSFA at 30 
Warning: File: DPARSFA_run.m Line: 2683 Column: 24
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 at 1779
  In gui_mainfcn at 95
  In DPARSFA at 30 
Warning: File: DPARSFA_run.m Line: 4389 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 at 1779
  In gui_mainfcn at 95
  In DPARSFA at 30 
Realign Setup:0187_ROJE OK
Realign Setup:0120_BANI OK
Realign Setup:0043_MACL OK
Realign Setup:0249_LONI OK
Warning: Run spm_jobman('initcfg'); beforehand
> In spm_jobman at 107
  In DPARSFA_run>(parfor body) at 766
  In parallel_function>make_general_channel/channel_general at 927
  In remoteParallelFunction at 38 
 
 
------------------------------------------------------------------------
Running job #1
------------------------------------------------------------------------
Warning: Run spm_jobman('initcfg'); beforehand
> In spm_jobman at 107
  In DPARSFA_run>(parfor body) at 766
  In parallel_function>make_general_channel/channel_general at 927
  In remoteParallelFunction at 38 
 
 
------------------------------------------------------------------------
Running job #1
------------------------------------------------------------------------
Warning: Run spm_jobman('initcfg'); beforehand
> In spm_jobman at 107
  In DPARSFA_run>(parfor body) at 766
  In parallel_function>make_general_channel/channel_general at 927
  In remoteParallelFunction at 38 
 
 
------------------------------------------------------------------------
Running job #1
------------------------------------------------------------------------
Warning: Run spm_jobman('initcfg'); beforehand
> In spm_jobman at 107
  In DPARSFA_run>(parfor body) at 766
  In parallel_function>make_general_channel/channel_general at 927
  In remoteParallelFunction at 38 
 
 
------------------------------------------------------------------------
Running job #1
------------------------------------------------------------------------
Running 'Realign: Estimate & Reslice'
Failed  'Realign: Estimate & Reslice'
Error using chol
Matrix must be positive definite.
In file "/Applications/MathWorks/spm8/spm_imatrix.m" (v1143), function "spm_imatrix" at line 16.
In file "/Applications/MathWorks/spm8/spm_realign.m" (v6071), function "save_parameters" at line 502.
In file "/Applications/MathWorks/spm8/spm_realign.m" (v6071), function "spm_realign" at line 119.
In file "/Applications/MathWorks/spm8/config/spm_run_realign_estwrite.m" (v4152), function "spm_run_realign_estwrite" at line 26.
 
The following modules did not run:
Failed: Realign: Estimate & Reslice
 
Error using cfg_util (line 835)
Job execution failed. The full log of this run can be found in MATLAB command window, starting with the lines (look
for the line showing the exact #job as displayed in this error message)
------------------
Running job #1
------------------
 
 
Error in spm_jobman (line 217)
 
 
 
Error in DPARSFA_run>(parfor body) (line 766)
 
 
 
Error in DPARSFA_run (line 725)
    parfor i=1:AutoDataProcessParameter.SubjectNum
 
 
Error in DPARSFA>pushbuttonRun_Callback (line 1779)
    [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

"Matrix must be positive definite."

See if you have the same problem for another dataset.

Dear Yan,

 

actually, I have already analysed this database, but I would like to change few parameters. 

Therefore, I don't think it could be a problem of that. Moreover, the slicetiming worked perfectly. 

I am wondering if you have other suggestions.

 

Thanks

Dear Yan,

I am wondering if you found a solution to my problem.

Thank you in advance.

Patrizia