trialfun_neuromag
Thomas Witzel
twitzel at NMR.MGH.HARVARD.EDU
Mon Jan 8 15:09:42 CET 2007
Hello Jyrki,
why don't you just run
cfg = [];
cfg.dataset = 'myfile.fif';
cfg.trialdef.eventtype = '?';
cfg.trialdef.trgchan = 'STI 014';
definetrial(cfg);
Thomas
On Fri, 5 Jan 2007, Jyrki Ahveninen wrote:
> Greetings,
>
> I tried to start my trip in the field of utilizing Fieldtrip, and I have
> problems with neuromag data. I have fieldtrip-20070101.
>
> Using this:
>
> cfg = [];
> cfg.dataset = 'myfile.fif';
> cfg.trialdef.eventtype = '?';
> definetrial(cfg);
>
> I encounter this problem:
>
>>> definetrial(cfg);
> evaluating trialfunction 'trialfun_neuromag'
> ??? Reference to non-existent field 'trgchan'.
>
> Error in ==> fieldtrip/private/trialfun_neuromag at 11
> chanindx = match_str(hdr.label, cfg.trialdef.trgchan);
>
> Error in ==> definetrial at 172
> trl = feval(cfg.trialfun, cfg);
>
>
> Am I doing something wrong here?
>
> Cheers,
>
> Jyrki
>
>
>
More information about the fieldtrip
mailing list