[FieldTrip] Undefined variable?

"Jörn M. Horschig" jm.horschig at donders.ru.nl
Wed Jul 13 14:17:57 CEST 2011

Hi Maarten,

I searched my whole FT directory and could not find a single line 
containing meg_zaxis. I also manually checked  planachannelset.m and 
ft_senslabel.m and couldn't find the corresponding if-statement. Could 
you copy the error message(s) from Matlab and send them over?


On 7/13/2011 12:38 PM, Maarten van-Casteren wrote:
> Hi,
> I haven't got much experience with Fieldtrip, or with Matlab,
> so I apologise if this is a stupid question.
> I've downloaded the latest version, and now my code crashes.
> It ran without problems before.
> The offending line is in ft_senslabel.m :
> if size(find(meg_zaxis+1==i),2)
> But 'meg_zaxis' doesn't seem to be defined anywhere.
> I've searched all code, but can only find 14 instances of
> precisely this line, in ft_senslabel.m and planarchannelset.m
> Am I missing something?
> Maarten
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip

Jörn M. Horschig
PhD Student
Donders Institute for Brain, Cognition and Behaviour
Centre for Cognitive Neuroimaging
Radboud University Nijmegen
Neuronal Oscillations Group

P.O. Box 9101
NL-6500 HB Nijmegen
The Netherlands

E-Mail: jm.horschig at donders.ru.nl
Tel:    +31-(0)24-36-68493
Web: http://www.ru.nl/donders

Visiting address:
Trigon, room 2.30
Kapittelweg 29
NL-6525 EN Nijmegen
The Netherlands

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20110713/eb358db2/attachment-0002.html>

More information about the fieldtrip mailing list