what is suggested in the SPM manual is to edit a job MAT-file, not an
SPM.mat file containing the design matrix itself (this is the outcome of
the job MAT-file, once it has been run).
You will see in this SPM5 batch script how this can be done:
FREEDMAN NANETTE wrote:
> I'm trying to follow the example of Verbal Fluency PET data in Chapter
> 31 of the SPM5 manual, since it is not dissimilar from the example of
> some PET data I'm analyzing. In this chapter, it is suggested that new
> design matrix files can be set up (with much less work in the case of
> our data as in the case of the data described in the chapter, where only
> small changes are required between one design and another) easily by
> editing the files. With what program or utility could one best edit
> these encoded files?
> Also looking in the archives of this list, I see strong warnings against
> editing design matrices (but no indication of how one would edit them) --
> any advice would be greatly appreciated.
Guillaume Flandin, PhD
Wellcome Trust Centre for Neuroimaging
University College London
12 Queen Square
London WC1N 3BG