[FieldTrip] Undefined variable?

Maarten van-Casteren Maarten.van-Casteren at mrc-cbu.cam.ac.uk
Wed Jul 13 12:38:53 CEST 2011


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?

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

More information about the fieldtrip mailing list