Hi Brian,<div>Also I noticed in your error you have '-kop' in the file name but not in the dataset name. I've noticed that one can't change the file name of .eeg files (e.g. copying them to a new file name) and then still load them; you should stick to the original name as it was given when collected.</div>
<div><br></div><div>Best,</div><div>Johanna<br><br><div class="gmail_quote">On 22 September 2011 11:38, <span dir="ltr"><<a href="mailto:B.Mouthaan@neuro.umcn.nl">B.Mouthaan@neuro.umcn.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<u></u>
<div>
<p><font size="2">Hello Fieldtrippers,<br>
<br>
Hello Fieldtrippers,<br>
<br>
For an assignment during my internship at the Radboud UMC, I want try to use fieldtrip for Beamforming at Auditory Evoked Potentials.<br>
However the first step is unsuccesful. I try to load *.eeg , *.vhdr , *.vmrk and *.avr files but I receive multiple errors.<br>
<br>
I also tried to use the example script in the tutorial. However this doesn't work either. I get errors like:<br>
<br>
<br>
??? Error using ==> ft_read_header at 86<br>
file or directory 'heineken000003-kop.eeg' does not exist<br>
<br>
Error in ==> trialfun_general at 55<br>
hdr = ft_read_header(cfg.headerfile, 'headerformat', cfg.headerformat);<br>
<br>
Error in ==> ft_definetrial at 161<br>
[trl, event] = feval(cfg.trialfun, cfg);<br>
<br>
<br>
Especially the directory error pops up frequently. I don't have a clue.<br>
My script is like this:<br>
<br>
cfg = [];<br>
<br>
cfg.datafile = 'heineken000003.eeg';<br>
cfg.headerfile = 'heineken000003.vhdr'<br>
<br>
cfg.trialdef.eventtype = '?'; <br>
<br>
ft_definetrial(cfg)<br>
<br>
<br>
Can anyone help me? FIY I lack experience of working with EEG and fieltrip, but I work with Matlab regularly.<br>
<br>
Hope to hear from you!<br>
<br>
Brian Mouthaan</font>
</p>
<br clear="all">
<div>
<p style="font-size:13px;font-family:arial">
Het UMC St Radboud staat geregistreerd bij de Kamer van Koophandel in het handelsregister onder nummer 41055629.<br> The Radboud University Nijmegen Medical Centre is listed in the Commercial Register of the Chamber of Commerce under file number 41055629.<br>
</p>
</div>
</div>
<br>_______________________________________________<br>
fieldtrip mailing list<br>
<a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>
<a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br></blockquote></div><br></div>