Claus - You need to set up a text file with the session order for each
subject then pass it into the script.
Ryan Simpson can send you some examples (Ryan, please oblige, thanks).
Regards - Mike
>-----Original Message-----
>From: SPM (Statistical Parametric Mapping)
>[mailto:[log in to unmask]] On Behalf Of Claus Lamm
>Sent: Wednesday, April 11, 2007 3:45 PM
>To: [log in to unmask]
>Subject: [SPM] batch in SPM5 - edit .mat files
>
>Using SPM5, I set up a default preprocessing batch-script that
>specifies all
>the preprocessing steps.
>
>now I want to run those steps for all my subjects, i.e.
>basically run a loop
>over them.
>
>I saw several entries on the helpline but weren't really able
>to implement
>this. one problem might be that my study has several runs,
>with different
>number of scans per run.
>
>so my question is: how could I implement such a loop? or,
>alternatively: how
>can I change the data/filenames in my batch.mat?
>
>THANKS in advance
>
>Claus
>
|