Hi, start with spm_jobman('initcfg') then put the .m code given by spm. Finish by spm_jobman('run',matlabbatch). It will save you time -- Daniel ROQUET PhD student Clinique Psychiatrique Unité INSERM 666 1 Place de l'Hôpital 67091 Strasbourg 2012/2/13 Farras Abdelnour <[log in to unmask]> > Thanks, Daniel. But unless I'm missing something, the only visible code is > the set of the input parameters, not the Matlab commands themselves. > > > On 02/13/12, *Daniel ROQUET * <[log in to unmask]> wrote: > > Hello, > in your batch window, click on "view" then on "show .m code" > BR, > -- > Daniel ROQUET > PhD student > Clinique Psychiatrique > Unité INSERM 666 > 1 Place de l'Hôpital > 67091 Strasbourg > > 2012/2/13 Farras Abdelnour <[log in to unmask]> > >> Dear all, >> I am interested in performing fMRI spatial pre-processing for a large >> group of subjects. Chapter 28 (and in particular Section 28.1) of SPM08 >> explains well the necessary steps in a GUI environment. However, as >> mentioned above, I am interested in performing the same analysis over a >> large set of subjects. Where can I find the command line equivalent to the >> example in Chapter 28? >> >> Many thanks in advance. >> -- >> >> Farras Abdelnour >> http://sacklerinstitute.academia.edu/FarrasAbdelnour >> Imaging Data Evaluation and Analytics Laboratory (IDEAL) >> Department of Radiology | Weill Cornell Medical College >> >> 515 E. 71st St., S-125 | New York, NY 10065 >> email: [log in to unmask] <[log in to unmask]> >> http://ideal-cornell.com >> >> > > > -- > > Farras Abdelnour > http://sacklerinstitute.academia.edu/FarrasAbdelnour > Imaging Data Evaluation and Analytics Laboratory (IDEAL) > Department of Radiology | Weill Cornell Medical College > 515 E. 71st St., S-125 | New York, NY 10065 > email: [log in to unmask] <[log in to unmask]> > http://ideal-cornell.com > >