Batch for SPM5

Actually, batch for SPM5 is very similar to SpmBatch2, with the big exception that you can now save analyses in the GUI to a batch definition file, that can repeat the analysis, and be edited to adapt to another subject or slightly different parameters.

Nonetheless, if you want to continue working directly with Matlab scripts of calls to spm functions, here are some examples (NB we will not be held responsible for any errors!):

More scripts for EEG/MEG preprocessing and source localisation (particularly for the CBU EEG/MEG machines) can be found here:

[Some of these scripts are .tar.tar, so from the unix shell you need to rename the file .tar.gz, unzip with gunzip (gunzip [file]), then extract them (tar -xf [file]).]