<div dir="ltr"><div dir="ltr"><div>Dear all,</div><div><br></div><div>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.</div>
<div><br></div><div>Here's the command I use:</div><div><br></div><div><div>cfg.trialfun = 'trial_def_AV'; % self-made function located in D:\New_Scripts_2013\my_trialfun_name.m</div><div>cfg.trialdef.eventtype = 'Stimulus';</div>
<div>cfg.trialdef.eventvalue = 3; % 1 for AV; 2 for AN; 3 for both AV and AN</div><div>cfg.trialdef.pre = 0.5;</div><div>cfg.trialdef.post = 4.0;</div><div>cfg = ft_definetrial(cfg);</div><div><br></div><div>[data] = ft_preprocessing(cfg); % loading eeg data into memory</div>
<div><br></div><div>evaluating trialfunction 'trial_def_AV'</div><div>Error using ft_read_event (line 383)</div><div>cannot open BrainVision marker file</div><div><br></div><div>Error in trial_def_AV (line 4)</div>
<div>event = ft_read_event(cfg.event);</div><div><br></div><div>Error in ft_definetrial (line 169)</div><div> [trl, event] = feval(cfg.trialfun, cfg);</div></div><div><br></div><div>I'm lost, and do not know what to do. Could someone please help?</div>
<div>Thanks.</div><div><br></div><div>Cheers,</div><div>Hweeling</div><div><br></div><div><br></div></div>
</div>