[FieldTrip] Fieldtrip on Mac

Hwee Ling Lee hweeling.lee at gmail.com
Fri Jan 24 10:14:11 CET 2014


Dear all,

I downloaded the latest version of fieldtrip, and tried to use fieldtrip
toolbox on Matlab R2012b, but I keep experiencing problems with reading the
files.

Here's the command I use:

cfg.trialfun = 'trial_def_AV'; % self-made function located in
D:\New_Scripts_2013\my_trialfun_name.m
cfg.trialdef.eventtype = 'Stimulus';
cfg.trialdef.eventvalue = 3; % 1 for AV; 2 for AN; 3 for both AV and AN
cfg.trialdef.pre = 0.5;
cfg.trialdef.post = 4.0;
cfg = ft_definetrial(cfg);

[data] = ft_preprocessing(cfg); % loading eeg data into memory

evaluating trialfunction 'trial_def_AV'
Error using ft_read_event (line 383)
cannot open BrainVision marker file

Error in trial_def_AV (line 4)
event = ft_read_event(cfg.event);

Error in ft_definetrial (line 169)
    [trl, event] = feval(cfg.trialfun, cfg);

I'm lost, and do not know what to do. Could someone please help?
Thanks.

Cheers,
Hweeling
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20140124/04f2ab74/attachment-0001.html>


More information about the fieldtrip mailing list