Dear Ariana,
It's actually surprising. My initial thought was that you set the
command line mode to true and, with this setting, the results report is
not displayed nor saved (spm12/config/spm_run_results.m checks
~spm('CmdLine')) but you mention using the following:
spm_get_defaults('cmdline',false);
hence my surprise. How do you actually execute your job as there is no
call to spm_jobman('run',matlabbatch) in there? Could there be somewhere
else a change to defaults.cmdline?
Best regards,
Guillaume.
On 09/02/17 06:55, Ariana Anderson wrote:
> Hello,
>
> I am running SPM (preprocessing + GLM) in batch mode. Like others on this board, I’ve had trouble getting the postscript report to print in batch mode, even though the analyses run beautifully. After using many of the recommended fixes, I am now able to get a postscript file to print, but it prints the single motion-correction page only and omits the much-needed GLM results page. Any advice would be appreciated- the full script is attached- I've already added the following fixes:
> "spm fmri
> spm('defaults','fmri');
> spm_jobman('initcfg');
> spm_get_defaults('cmdline',false);
> spm_figure('GetWin','Graphics');"
>
> Best,
> Ariana
>
--
Guillaume Flandin, PhD
Wellcome Trust Centre for Neuroimaging
University College London
12 Queen Square
London WC1N 3BG
|