<html><head></head><body><div style="color:#000; background-color:#fff; font-family:garamond, new york, times, serif;font-size:16px"><div id="yui_3_16_0_1_1450701495752_30167"><span id="yui_3_16_0_1_1450701495752_30175">Hi all,</span></div><div id="yui_3_16_0_1_1450701495752_30176"><span id="yui_3_16_0_1_1450701495752_30175">I am new to fieldtrip .</span></div><div id="yui_3_16_0_1_1450701495752_30460"><span id="yui_3_16_0_1_1450701495752_30175">I am trying to load some edf+ file to Matlab and read the events/annotations. These annotations are usually seizure, or spikes....<br></span></div><div id="yui_3_16_0_1_1450701495752_30461"><span id="yui_3_16_0_1_1450701495752_30175">The files are EEG data from nicollet one, lengthy data for epileptic patients.</span></div><div id="yui_3_16_0_1_1450701495752_30697"><br><span id="yui_3_16_0_1_1450701495752_30175"></span></div><div id="yui_3_16_0_1_1450701495752_30705"><span id="yui_3_16_0_1_1450701495752_30175">This is how I try to look at the events:<br></span></div><div id="yui_3_16_0_1_1450701495752_30462"><br class="" id="yui_3_16_0_1_1450701495752_30668">cfg2 = [];<br class="" id="yui_3_16_0_1_1450701495752_30670"><br class="" id="yui_3_16_0_1_1450701495752_30672">cfg2.dataset = 'For leila.edf';<br class="" id="yui_3_16_0_1_1450701495752_30680">cfg2.trialdef.eventtype  = '?'<br class="" id="yui_3_16_0_1_1450701495752_30682">cfg2 = ft_definetrial( cfg2 );<br class="" id="yui_3_16_0_1_1450701495752_30684"><br class="" id="yui_3_16_0_1_1450701495752_30686"><br class="" id="yui_3_16_0_1_1450701495752_30688">cfg2.continuous = 'yes';<br class="" id="yui_3_16_0_1_1450701495752_30690"><div id="yui_3_16_0_1_1450701495752_30693" dir="ltr">data2 = ft_preprocessing(cfg2);</div><div id="yui_3_16_0_1_1450701495752_30695" dir="ltr"><br></div><div id="yui_3_16_0_1_1450701495752_30706" dir="ltr">However the output for events are always empty.</div><div id="yui_3_16_0_1_1450701495752_30713" dir="ltr">Does anyone have an idea how I could extract the events/annotation on these files? <br></div><div id="yui_3_16_0_1_1450701495752_30994" dir="ltr"><br> </div></div><div id="yui_3_16_0_1_1450701495752_30494" class="signature"><div id="yui_3_16_0_1_1450701495752_30493"><div id="yui_3_16_0_1_1450701495752_30998"><font id="yui_3_16_0_1_1450701495752_30492" color="#000000"><div id="yui_3_16_0_1_1450701495752_30631" style="font-family:'bookman old style', 'new york', times, serif;margin-top:0cm;margin-right:0cm;margin-bottom:0pt;margin-left:0cm;" class="MsoPlainText"><span id="yui_3_16_0_1_1450701495752_30633" style=""><font id="yui_3_16_0_1_1450701495752_30632" face="times new roman, new york, times, serif"><font id="yui_3_16_0_1_1450701495752_30634" size="2">Thanks in advance for your assistance.<br>Best regards<br>__________________________________________________</font></font></span></div></font></div><font id="yui_3_16_0_1_1450701495752_30492" color="#000000"> <div id="yui_3_16_0_1_1450701495752_30495" style="font-family:'bookman old style', 'new york', times, serif;margin-top:0cm;margin-right:0cm;margin-bottom:0pt;margin-left:0cm;" class="MsoPlainText"><span id="yui_3_16_0_1_1450701495752_30498" style=""><font id="yui_3_16_0_1_1450701495752_30497" face="times new roman, new york, times, serif"><font id="yui_3_16_0_1_1450701495752_30496" size="2">Leila Ayoubian, PhD.<br>Institute of Psychiatry, Psychology and Neuroscience<br>King's College London<br></font></font></span></div> <div id="yui_3_16_0_1_1450701495752_30491" style="margin-top:0cm;margin-right:0cm;margin-bottom:0pt;margin-left:0cm;" class="MsoPlainText"><font class="Apple-style-span" size="2" face="'times new roman', 'new york', times, serif"><br></font></div></font></div><div style="MARGIN:0cm 0cm 0pt;" class="MsoPlainText"><font color="#000000"><font style="" face="bookman old style, new york, times, serif"><font face="bookman old style, new york, times, serif"><font color="#000000"><span style="color:rgb(84, 140, 214);font-size:9pt;font-family:Arial;" lang="EN-US"><span style="font-size:10pt;font-family:sans-serif;"><br></span></span></font></font></font></font></div></div></div></body></html>