.lay layout file for neuromag 306 channels

Sameer Walawalkar sameer at ANDREW.CMU.EDU
Mon Feb 19 21:01:19 CET 2007


thanks, It works.

sameer

On Mon, 19 Feb 2007, Robert Oostenveld wrote:

> On 19 Feb 2007, at 19:31, Sameer Walawalkar wrote:
>>> topoplot([], lay.prj(1:307,1), lay.prj(1:307,2), compRR_orig.topo(:,1))
>>> ??? Error using ==> topoplot
>>> Flag arguments must be strings
>
> I suspect that you are mixing up EEGLAB and FieldTrip.
>
>>> cd ~/matlab/fieldtrip
>>> topoplot([], randn(100,1), randn(100,1), randn(100,1))
> ??? Error using ==> topoplot
> When four input arguments are supplied, the following syntax should be used:
> topoplot(cfg,X,Y,datavector);
>
>>> cd ~/matlab/eeglab/functions
>>> topoplot([], randn(100,1), randn(100,1), randn(100,1))
> ??? Error using ==> topoplot
> Flag arguments must be strings
>
> Your error corresponds with the EEGLAB one. Note that the FT version wants
> the first argument as a struct, so you cannot specify []. I will fix the
> empty input struct. For the moment you can do cfg.dummy=[] to make a
> structure of the cfg and the example above will work.
>
> Robert
>
>



More information about the fieldtrip mailing list