private/senslabel.m missing on latest builds?
Enrico Glerean
e.glerean at GMAIL.COM
Wed Dec 9 08:40:55 CET 2009
Hello Robert
thanks for this. There was a path conflict with EEGLAB (which also had
an entry for the forwinv toolbox in its external/fieldtrip folder),
hence the hastoolbox('forwinv', 1, 1); command on fieldtripdefs did
not add the correct forwinv. Now everything seems fine again.
Best
--
Enrico Glerean, MSc
Researcher
Department of Biomedical Engineering and Computational Science
Helsinki University of Technology
2009/12/8 Robert Oostenveld <r.oostenveld at fcdonders.ru.nl>:
> Dear Enrico,
> The senslabel function is now located elsewhere, in
>>> which senslabel.m
> /Users/robert/matlab/fieldtrip/forwinv/senslabel.m
> We try to avoid replicating functions, and this function (which used to be
> private) is now part of the public API of the forwinv module. That means
> that it does not have to be replicated any more in fieldtrip/private.
> If channelselection does not find it, then it seems that fieldtripdefs
> (which is called at the begin of channelselection) did not add the
> fieldtrip/forwinv directory correctly to your path. Could you try "clear
> all" and then "fieldtripdefs" and then "which senslabel"?
> Best regards,
> Robert
> -----------------------------------------------------------
> Robert Oostenveld, PhD
> Senior Researcher
> Donders Institute for Brain, Cognition and Behaviour
> Centre for Cognitive Neuroimaging
> Radboud University Nijmegen
> tel.: +31 (0)24 3619695
> e-mail: r.oostenveld at donders.ru.nl
> web: http://www.ru.nl/neuroimaging
> skype: r.oostenveld
> -----------------------------------------------------------
>
> On 8 Dec 2009, at 13:10, Enrico Glerean wrote:
>
> Hello developers of FT,
>
> hopefully this is the best place for these kind of notifications. In
> the latest builds of FT the function private/senslabel.m
> is not there anymore. This throws errors such:
>
> ??? Undefined function or method 'senslabel' for input arguments of type
> 'char'.
>
> Error in ==> channelselection at 96
> label1020 = senslabel('eeg1020'); % use external helper function
>
> Error in ==> preprocessing at 306
> cfg.channel = channelselection(cfg.channel, hdr.label);
>
> Error in ==> ft_test1 at 9
> dataPrepro = preprocessing(cfg1);
>
>
> (This error was obtained by running a basic preprocessing script as in
> http://fieldtrip.fcdonders.nl/tutorial/introduction using Subject01.ds
> from your tutorial data).
>
>
> Please let me know when the function is back.
> thanks
>
> --
> Enrico Glerean, MSc
> Researcher
> Department of Biomedical Engineering and Computational Science
> Helsinki University of Technology
>
> ----------------------------------
> 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
> http://listserv.surfnet.nl/archives/fieldtrip.html and
> http://www.ru.nl/neuroimaging/fieldtrip.
>
>
> ----------------------------------
>
> 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.
>
> http://listserv.surfnet.nl/archives/fieldtrip.html
>
> http://www.ru.nl/fcdonders/fieldtrip/
----------------------------------
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 http://listserv.surfnet.nl/archives/fieldtrip.html and http://www.ru.nl/neuroimaging/fieldtrip.
More information about the fieldtrip
mailing list