use of spm within fieldtrip

jan-mathijs schoffelen jan.schoffelen at DONDERS.RU.NL
Wed May 19 16:37:06 CEST 2010

Dear all,

I just made some changes to the fieldtrip code relating to the spm-
version used for spatial normalisation, segmentation and smoothing.
These changes affect the functions ft_volumesegment,
ft_volumenormalise and ft_volumedownsample. Up until now, fieldtrip
relied on spm2 to do the morphological operations on anatomical MRIs
(and actually crashed when trying to use spm8). I changed the default
spm-version to be used into spm8. This means that in order for this to
work you need spm8 on your matlab path. People who would prefer to
keep using spm2 for spatial normalisation and segmentation should
specify cfg.spmversion = 'spm2' before calling ft_volumenormalise or



Dr. J.M. (Jan-Mathijs) Schoffelen
Donders Institute for Brain, Cognition and Behaviour,
Centre for Cognitive Neuroimaging,
Radboud University Nijmegen, The Netherlands
J.Schoffelen at
Telephone: 0031-24-3668063

The aim of this list is to facilitate the discussion between users of the FieldTrip  toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis. See also and

More information about the fieldtrip mailing list