[FieldTrip] [multivariate] "multivariate" subdirectory not included upon "addpath" of FieldTrip root directory
batrod at gmail.com
Wed May 25 17:39:02 CEST 2011
Elli's suggestion is right. As you apparently want to do that on matlab
startup and using Linux, you can add a matlab shortcut on your panel with
the following instructions : matlab -r "yourinstructions"
"yourinstructions" can be an addpath or wathever you want.
I often use this initialization to avoid default path conflicts between spm,
fieldtrip, eeglab, etc...
Hope this helps,
On Wed, May 25, 2011 at 7:53 AM, Kanal Eliezer <ekanal at cmu.edu> wrote:
> Hello Sander -
> Just so you know, there is a way to recursively add folders to a path,
> using the `genpath` command:
> However, as you said, it's probably just a better idea to add it to the
> `ft_defaults` file so it's added automatically, as you suggested.
> On May 25, 2011, at 6:13 AM, Sander Maijers wrote:
> > Dear readers,
> > While all other functional subdirectories do get included after an
> > "addpath" of the FieldTrip root directory, the "multivariate"
> > subdirectories does not get included.
> > It assume this is because of automatical detection that requirements of
> > the FieldTrip multivariate module were not met.
> > Yet while some parts of the multivariate module seem to rely on
> > features exclusive to MATLAB 64-bit editions, others (like the ridge
> > regression functionality) do not.
> >> From my (tentative) investigation it appears that there is no standard
> > way to add a path recursively from a startup.m file, even though that
> > can be done with the graphical interface of MATLAB.
> > What are your thoughts about this?
> > Can anyone offer a method to automatically add FieldTrip including the
> > multivariate module to the path upon startup of MATLAB that works in
> > my situation?
> > Kind regards,
> > Sander Maijers
> > P.S.:
> > In case it would be relevant: I use MATLAB R2011a 32-bit under 64-bit
> > Linux.
> > _______________________________________________
> > fieldtrip mailing list
> > fieldtrip at donders.ru.nl
> > http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fieldtrip