VOOZH about

URL: https://en.wikibooks.org/wiki/SPM/Headless

⇱ SPM/Headless - Wikibooks, open books for an open world


Jump to content
From Wikibooks, open books for an open world
< SPM
The SPM Wikibooks moved to https://www.fil.ion.ucl.ac.uk/spm/docs/

SPM without Graphical Output

[edit | edit source]
  • Start MATLAB with options:
    • -nodisplay -nosplash
    • -noFigureWindows on Windows platforms
  • Initialise SPM with the following:
spm('defaults','fmri');
spm_jobman('initcfg');
  • Enable the Command Line mode in your SPM scripts:
spm_get_defaults('cmdline',true);
  • Use Xvfb (X virtual framebuffer) on Linux platforms.