troubleshooting topoplotER

Christian Hesse c.hesse at FCDONDERS.RU.NL
Sun Apr 8 10:30:06 CEST 2007


Hi Sameer,

given that the error you report involves a call to the function
CREATELAYOUT it seems that you are using a relatively old version of
Fieldtrip. There were some changes made in early March to how layouts
are handled using a new function PREPARE_LAYOUT. I recommend that you
download the latest version of FT - if this error persists, please
let me know.

Also, it is worth periodically checking the "recent changes" section
of the FT website to see if there are any updates that are relevant
to you.

Regards,
Christian


On 7 Apr 2007, at 23:03, Sameer Walawalkar wrote:

> Hello,
>
> While using topoplotER using,
>
> cfgTLA = [];
> cfgTLA.xlim = [0 .3]    ;
> cfgTLAout.layout = '/mnt/condor2/sameer/KarmaCond/
> DataNeuroMagCondor2/Analysis/NM306grad.lay';
>
> figure
> topoplotER(cfgTLA,avgLL_1_One)
>
> I get the following error.
> ??? Undefined function or variable "pnt".
>
> Error in ==> createlayout at 209
>     pnt = pnt(ind,:);
>
>
>
> To troubleshoot, on line 198, sel is empty matrix.  So Line 205
>
> pnt(i,:) = mean([meanpnt1; meanpnt2; meanpnt3], 1);
>
> does not get executed.
>
> So I changed
> ch1 = sprintf('MEG %03d1', i);
> ch2 = sprintf('MEG %03d2', i);
> ch3 = sprintf('MEG %03d3', i);
>
> to
> ch1 = sprintf('MEG%03d1', i);
> ch2 = sprintf('MEG%03d2', i);
> ch3 = sprintf('MEG%03d3', i);
>
> ANow things both work and seem sensible. I just wanted to both
> bring it to your attention and make sure that it is indeed an o.k fix.
>
> Best,
> sameer
>

----------------------------------------------------------------------
Christian Hesse, PhD, MIEEE

F.C. Donders Centre for Cognitive Neuroimaging
P.O. Box 9101
NL-6500 HB Nijmegen
The Netherlands

Tel.: +31 (0)24 36 68293
Fax: +31 (0)24 36 10989

Email: c.hesse at fcdonders.ru.nl
Web: www.fcdonders.ru.nl
----------------------------------------------------------------------




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


More information about the fieldtrip mailing list