Dear List,
we are getting an error when using SPM8 Results Report, in batch mode,
to run a series of contrasts. In the batch file we specify "Inf" for
"Constrast(s)", asking it to calculate all (four) of conditions we
specified in the previous Constrast Manager module. On one system
(32-bit Ubuntu, 9.10, running Matlab 7.9.0, R2009b) it runs fine,
showing all four contrasts in turn in the graphics window, and printing
them to the PS file. On another (same hardware, 32-bit Windows XP
2002, SP3, running Matlab 7.7.0, 2008b) it always fails on starting the
second contrast, saying that it cannot read the SPM.mat file. This is
curious, since it had to open the SPM.mat file to do the first
successful contrast.
The command line output for the error is copied below, and the script
and screenshot of error pop-up are attached,
thanks,
Brian
Initialising SPM.........done
SPM present working directory:
C:\Lisandro\Objects
-----------------------------------------------------------------------
Running job #1
-----------------------------------------------------------------------
Running 'Results Report'
SPM8: spm_results_ui (v3081) 17:53:12 - 03/12/2010
=======================================================================
SPM computation : ...initialising
SPM computation : ...done
SPM computation : ...done
-----------------------------------------------------------------------
Running job #2
-----------------------------------------------------------------------
Running 'Print'
Printing Graphics Windows to
G:\19871021HGLI_201010290800\spmStats\spm_2010Dec03.ps
Done 'Print'
Done
-----------------------------------------------------------------------
Running job #2
-----------------------------------------------------------------------
Running 'Print'
Printing Graphics Windows to
G:\19871021HGLI_201010290800\spmStats\spm_2010Dec03.ps
Done 'Print'
Done
SPM8: spm_results_ui (v3081) 17:55:27 - 03/12/2010
=======================================================================
Failed 'Results Report'
Error using ==> spm_getSPM at 213
Cannot read G:\19871021HGLI_201010290800\spmStats\SPM.mat
In file "C:\toolbox\spm8\spm_getSPM.m" (v3056), function "spm_getSPM" at line 213.
In file "C:\toolbox\spm8\spm_results_ui.m" (v3081), function "spm_results_ui" at line 275.
In file "C:\toolbox\spm8\config\spm_run_results.m" (v3095), function "spm_run_results" at line 40.
In file "C:\toolbox\spm8\config\spm_run_results.m" (v3095), function "spm_run_results" at line 26.
The following modules did not run:
Failed: Results Report
|