Last modified on 7 December 2011, at 15:42


See this Powerpoint presentation for an overview.

Batch Script for SPM8Edit

See the relevant chapter in the SPM manual.

Any batch script should follow the template:


matlabbatch{1}.spm... = ...;


The Batch Scripts for SPM5 below can also be used in SPM8.

For general comments on SPM8 scripting see the SPM scripting page.

Batch Script in SPM5Edit

Examples of script (for SPM5 and compatible with SPM8) are provided with the SPM Data Sets, for example:

See also:

Batch Script for SPM2Edit

There is an example batch script written by Rik Henson, for a single subject fMRI data set (preprocessing and statistics).