[FieldTrip] question to the fieldtrip developers - multiple spm versions in fieldtrip

Stephen Politzer-Ahles politzerahless at gmail.com
Wed Mar 28 06:58:34 CEST 2012

Hi Frederic,

As far as I know, those SPM errors are a consequence of adding all the
subdirectories of FieldTrip to your MATLAB path; see
If you add just the main Fieldtrip directory instead of all
subdirectories, you shouldn't get the error. I haven't tried
ft_sourceanalysis myself so I'm not sure if this issue has any consequences
when running that.


> Message: 1
> Date: Tue, 27 Mar 2012 12:14:45 +0200
> From: Frederic Roux <fredericroux at hotmail.de>
> To: <fieldtrip at donders.ru.nl>
> Subject: [FieldTrip] question to the fieldtrip developers - multiple
>        spm versions in fieldtrip
> Message-ID: <DUB113-W12B64F64480B0A75AB493EB74A0 at phx.gbl>
> Content-Type: text/plain; charset="iso-8859-1"
> Dear all,
> I would like to ask again if the fact of getting a warning
> that different spm versions will confuse fieldtrip
> can have consequences in the ft_sourceanalysis pipeline.
> I am using version 2012-01-05 which has SPM2 and SPM8
> in the external folder.
> It would be great if someone from the development-team could tell me
> a) why this is a problem
> b) how to circumvent it
> I renamed the spm.m file into spm.m.bak in the SPM2 folder so that
> only the spm.m file from the SPM8 folder is used. However, it would
> be great if someone could tell me if this is a workaround or not.
> Best regards,
> Fred
> --
> Fr?d?ric Roux, PhD student
> Department of Neurophysiology
> Max Planck Institute for Brain Research
> D-60529 Frankfurt am Main
> Frederic.Roux at brain.mpg.de
> +49(0)69630183225
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20120327/3332f81b/attachment-0002.html>

More information about the fieldtrip mailing list