<div dir="ltr">Hi  Akshay<div>It turned out that the problem is connected to the version of Matlab. My error turned up for matlab 2014a, but disappeared for 2010b. It&#39;s likely it&#39;s also absent for 2013a.</div><div><br></div><div>Best</div><div>Kaare</div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><font style="background-color:rgb(255,255,255)">--------------------------------------------------------------------</font><div style="font-family:arial;font-size:small">Kaare Mikkelsen, Dr. Phys.</div><div style="font-family:arial;font-size:small">Department of Engineering</div><div style="font-family:arial;font-size:small">Aarhus University<br></div><div>--------------------------------------------------------------------<br></div></div></div>
<br><div class="gmail_quote">On 16 September 2014 05:51, Akshay Maggu <span dir="ltr">&lt;<a href="mailto:akshay@cuhk.edu.hk" target="_blank">akshay@cuhk.edu.hk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Kaare, <div><br></div><div>I tried to replicate your error. However, I am getting the correct listing (Please see below). I am using Matlab 2013a. Try resetting your erplab working memory to see if that helps. </div><div> <span style="font-family:Courier;font-size:10px">#</span><span style="font-family:Courier;font-size:10px">  </span><span style="font-family:Courier;font-size:10px">Non-editable header begin --------------------------------------------------------------------------------</span></div>
<p style="margin:0px;font-size:10px;font-family:Courier"># </p>
<p style="margin:0px;font-size:10px;font-family:Courier">#  data format...............: continuous</p>
<p style="margin:0px;font-size:10px;font-family:Courier">#  setname...................: BDF file_elist_bins</p>
<p style="margin:0px;font-size:10px;font-family:Courier">#  filename..................: none_specified</p>
<p style="margin:0px;font-size:10px;font-family:Courier">#  filepath..................: none_specified</p>
<p style="margin:0px;font-size:10px;font-family:Courier">#  nchan.....................: 143</p>
<p style="margin:0px;font-size:10px;font-family:Courier">#  pnts......................: 468480</p>
<p style="margin:0px;font-size:10px;font-family:Courier">#  srate.....................: 512</p>
<p style="margin:0px;font-size:10px;font-family:Courier">#  nevents...................: 601</p>
<p style="margin:0px;font-size:10px;font-family:Courier">#  generated by (bdf)........: /Users/XXX/Desktop/erplab_binlister.txt</p>
<p style="margin:0px;font-size:10px;font-family:Courier">#  generated by (set)........: BDF file_elist_bins</p>
<p style="margin:0px;font-size:10px;font-family:Courier">#  reported in ..............: </p>
<p style="margin:0px;font-size:10px;font-family:Courier">#  prog Version..............: 4.0.2.3</p>
<p style="margin:0px;font-size:10px;font-family:Courier">#  creation date.............: 16-Sep-2014 11:41:07</p>
<p style="margin:0px;font-size:10px;font-family:Courier">#  user Account..............: Akshay</p>
<p style="margin:0px;font-size:10px;font-family:Courier"># </p>
<p style="margin:0px;font-size:10px;font-family:Courier">#  Non-editable header end --------------------------------------------------------------------------------</p>
<p style="margin:0px;font-size:10px;font-family:Courier;min-height:12px"> </p>
<p style="margin:0px;font-size:10px;font-family:Courier">    bin 1,  # 480,                                                                                                      </p>
<p style="margin:0px;font-size:10px;font-family:Courier">    bin 2,  # 120,                                                                                                      </p>
<p style="margin:0px;font-size:10px;font-family:Courier">    bin 3,  # 1,                                                                                                        </p><span class="">
<p style="margin:0px;font-size:10px;font-family:Courier;min-height:12px"> </p>
<p style="margin:0px;font-size:10px;font-family:Courier;min-height:12px"> </p>
<p style="margin:0px;font-size:10px;font-family:Courier;min-height:12px"> </p>
<p style="margin:0px;font-size:10px;font-family:Courier"># item   bepoch   ecode             label         onset           diff       dura   b_flags    a_flags    enable        bin</p>
</span><p style="margin:0px;font-size:10px;font-family:Courier">#                                                 (sec)           (msec)     (msec)    (binary)   (binary)</p>
<p style="margin:0px;font-size:10px;font-family:Courier;min-height:12px"> </p>
<p style="margin:0px;font-size:10px;font-family:Courier;min-height:12px"> </p>
<p style="margin:0px;font-size:10px;font-family:Courier">1       0         65024               &quot;&quot;          0.8906          0.00      0.0     00000000     00000000      1    [      3]</p>
<p style="margin:0px;font-size:10px;font-family:Courier">2       0         65152               &quot;&quot;          3.0898       2199.22      0.0     00000000     00000000      1    [      1]</p>
<p style="margin:0px;font-size:10px;font-family:Courier">3       0         65152               &quot;&quot;          4.5898       1500.00      0.0     00000000     00000000      1    [      1]</p>
<p style="margin:0px;font-size:10px;font-family:Courier">4       0         65216               &quot;&quot;          6.0898       1500.00      0.0     00000000     00000000      1    [      2]</p>
<p style="margin:0px;font-size:10px;font-family:Courier">5       0         65152               &quot;&quot;          7.5898       1500.00      0.0     00000000     00000000      1    [      1]</p>
<p style="margin:0px;font-size:10px;font-family:Courier">6       0         65152               &quot;&quot;          9.0898       1500.00      0.0     00000000     00000000      1    [      1]</p>
<p style="margin:0px;font-size:10px;font-family:Courier">7       0         65152               &quot;&quot;         10.5898       1500.00      0.0     00000000     00000000      1    [      1]</p>
<p style="margin:0px;font-size:10px;font-family:Courier">8       0         65152               &quot;&quot;         12.0898       1500.00      0.0     00000000     00000000      1    [      1]</p>
<p style="margin:0px;font-size:10px;font-family:Courier"><br></p><p style="margin:0px;font-size:10px;font-family:Courier">Best,</p><p style="margin:0px;font-size:10px;font-family:Courier">Akshay</p></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Thu, Sep 11, 2014 at 8:45 PM, Kaare Mikkelsen <span dir="ltr">&lt;<a href="mailto:mikkelsen.kaare@gmail.com" target="_blank">mikkelsen.kaare@gmail.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Dear EEGLAB mailinglist:<div><br></div><div>(I am presently learning to use eeglab to analyse MMN-datasets, meaning that my question does partly relate to the erplab extension. I hope that this is acceptable, or that an alternative eeglab-exclusive solution exists.)</div><div><br></div><div>As a step towards familiarising myself with eeglab, I am attempting to make my way through the tutorial for spm/eeg, using eeglab/erplab. To this end I am using the garrido dataset obtainable from <a href="http://www.fil.ion.ucl.ac.uk/spm/data/eeg_mmn/" target="_blank">http://www.fil.ion.ucl.ac.uk/spm/data/eeg_mmn/</a>. The data seems to load fine into eeglab, but for some reason I am running into obstacles when reading the event information?</div><div><br></div><div>after having created the event list, the summary of event codes (outputted by erplab) is</div><div><br></div><div><div>Type 65024 appears   1 times</div><div>Type 65152 appears   1 times</div><div>Type 65216 appears 480 times</div></div><div><br></div><div>However, the eeglab window informs me that there are in fact 601 events. this fits very well with the spm tutorial, which says that the rare stimulus occurs 120 times (and not just 1). upon browsing the event details, either through the generated elist.txt or using edit -&gt; event values, I see that there are indeed much more than 1 occurrence of code &quot;65152&quot;. Does anyone know what might be going wrong? clearly the events are there, but eeglab persists in claiming that event &quot;65152&quot; only happens once. An excerpt from the elist.txt looks like: </div><div><br></div><div><div># item<span style="white-space:pre-wrap">        </span> bepoch<span style="white-space:pre-wrap">        </span>  ecode<span style="white-space:pre-wrap">        </span>            label<span style="white-space:pre-wrap">        </span>      onset<span style="white-space:pre-wrap">        </span>          diff<span style="white-space:pre-wrap">        </span>     dura<span style="white-space:pre-wrap">        </span>b_flags<span style="white-space:pre-wrap">        </span>   a_flags<span style="white-space:pre-wrap">        </span>  enable<span style="white-space:pre-wrap">        </span>    bin</div><div><br></div><div>1     <span style="white-space:pre-wrap">        </span>0     <span style="white-space:pre-wrap">        </span>  65024<span style="white-space:pre-wrap">        </span>              &quot;&quot;<span style="white-space:pre-wrap">        </span>      0.8906<span style="white-space:pre-wrap">        </span>      0.00<span style="white-space:pre-wrap">        </span>    0.0<span style="white-space:pre-wrap">        </span>    00000000     00000000<span style="white-space:pre-wrap">        </span>   1<span style="white-space:pre-wrap">        </span>[       ]</div><div>2     <span style="white-space:pre-wrap">        </span>0     <span style="white-space:pre-wrap">        </span>  65152<span style="white-space:pre-wrap">        </span>            rare<span style="white-space:pre-wrap">        </span>      3.0898<span style="white-space:pre-wrap">        </span>   2199.22<span style="white-space:pre-wrap">        </span>    0.0<span style="white-space:pre-wrap">        </span>    00000000     00000000<span style="white-space:pre-wrap">        </span>   1<span style="white-space:pre-wrap">        </span>[      1]</div><div>3     <span style="white-space:pre-wrap">        </span>0     <span style="white-space:pre-wrap">        </span>  65152<span style="white-space:pre-wrap">        </span>            rare<span style="white-space:pre-wrap">        </span>      4.5898<span style="white-space:pre-wrap">        </span>   1500.00<span style="white-space:pre-wrap">        </span>    0.0<span style="white-space:pre-wrap">        </span>    00000000     00000000<span style="white-space:pre-wrap">        </span>   1<span style="white-space:pre-wrap">        </span>[      1]</div><div>4     <span style="white-space:pre-wrap">        </span>0     <span style="white-space:pre-wrap">        </span>  65216<span style="white-space:pre-wrap">        </span>            freq<span style="white-space:pre-wrap">        </span>      6.0898<span style="white-space:pre-wrap">        </span>   1500.00<span style="white-space:pre-wrap">        </span>    0.0<span style="white-space:pre-wrap">        </span>    00000000     00000000<span style="white-space:pre-wrap">        </span>   1<span style="white-space:pre-wrap">        </span>[      2]</div><div>5     <span style="white-space:pre-wrap">        </span>0     <span style="white-space:pre-wrap">        </span>  65152<span style="white-space:pre-wrap">        </span>            rare<span style="white-space:pre-wrap">        </span>      7.5898<span style="white-space:pre-wrap">        </span>   1500.00<span style="white-space:pre-wrap">        </span>    0.0<span style="white-space:pre-wrap">        </span>    00000000     00000000<span style="white-space:pre-wrap">        </span>   1<span style="white-space:pre-wrap">        </span>[      1]</div><div>6     <span style="white-space:pre-wrap">        </span>0     <span style="white-space:pre-wrap">        </span>  65152<span style="white-space:pre-wrap">        </span>            rare<span style="white-space:pre-wrap">        </span>      9.0898<span style="white-space:pre-wrap">        </span>   1500.00<span style="white-space:pre-wrap">        </span>    0.0<span style="white-space:pre-wrap">        </span>    00000000     00000000<span style="white-space:pre-wrap">        </span>   1<span style="white-space:pre-wrap">        </span>[      1]</div><div>7     <span style="white-space:pre-wrap">        </span>0     <span style="white-space:pre-wrap">        </span>  65152<span style="white-space:pre-wrap">        </span>            rare<span style="white-space:pre-wrap">        </span>     10.5898<span style="white-space:pre-wrap">        </span>   1500.00<span style="white-space:pre-wrap">        </span>    0.0<span style="white-space:pre-wrap">        </span>    00000000     00000000<span style="white-space:pre-wrap">        </span>   1<span style="white-space:pre-wrap">        </span>[      1]</div><div>8     <span style="white-space:pre-wrap">        </span>0     <span style="white-space:pre-wrap">        </span>  65152<span style="white-space:pre-wrap">        </span>            rare<span style="white-space:pre-wrap">        </span>     12.0898<span style="white-space:pre-wrap">        </span>   1500.00<span style="white-space:pre-wrap">        </span>    0.0<span style="white-space:pre-wrap">        </span>    00000000     00000000<span style="white-space:pre-wrap">        </span>   1<span style="white-space:pre-wrap">        </span>[      1]</div></div><div><br></div><div>(the labels are my doing, using the advanced &quot;create eventlist&quot; interface)</div><div><br></div><div>I hope someone can help clear this up.</div><div><br></div><div>Best regards</div><div>Kaare Mikkelsen</div><div> <br clear="all"><div><div dir="ltr"><font style="background-color:rgb(255,255,255)">--------------------------------------------------------------------</font><div style="font-family:arial;font-size:small">Kaare Mikkelsen, Dr. Phys.</div><div style="font-family:arial;font-size:small">Department of Engineering</div><div style="font-family:arial;font-size:small">Aarhus University<br></div><div>--------------------------------------------------------------------<br></div></div></div>
</div></div>
<br></div></div><span class="">_______________________________________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" target="_blank">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
For digest mode, send an email with the subject &quot;set digest mime&quot; to <a href="mailto:eeglablist-request@sccn.ucsd.edu" target="_blank">eeglablist-request@sccn.ucsd.edu</a><br></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><span style="color:rgb(136,136,136)">Akshay Raj Maggu, </span><div style="color:rgb(136,136,136)">PhD student, </div><div style="color:rgb(136,136,136)">Laboratory for Language, Learning and the Brain,</div><div style="color:rgb(136,136,136)">Division of Linguistics and Modern Languages, </div><div style="color:rgb(136,136,136)">Chinese University of Hong Kong, </div><div style="color:rgb(136,136,136)">Hong Kong.</div><div style="color:rgb(136,136,136)">webpage: <a href="http://www.cuhk.edu.hk/lin/new/people/students/maggu/" style="color:rgb(17,85,204)" target="_blank">http://www.cuhk.edu.hk/lin/new/people/students/maggu/</a></div><div style="color:rgb(136,136,136)"><i>Save trees! Please don&#39;t print this email unless you really need to.....</i></div></div>
</font></span></div>
</blockquote></div><br></div>