Hi everybody,<div><br></div><div>I had the same problem of Inga and following the instruction of Makoto the problem disappeared.</div><div>Thank you very very much!</div><div><br></div><div>Paolo <br><br><div class="gmail_quote">
2012/8/27 Clemens Brunner <span dir="ltr"><<a href="mailto:clemens.brunner@tugraz.at" target="_blank">clemens.brunner@tugraz.at</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Inga,<br>
<br>
events are stored in the struct array EEG.event. If you want to change the type of an existing event, you can assign a new value to the 'type' field. For example, you can change the type of the first event to the string '20' as follows:<br>

<br>
EEG.event(1).type = '20';<br>
<br>
Therefore, if you loop over all events and update the type field, you should be able to solve your problem.<br>
<br>
Also, you can get an overview of all events by typing the following command:<br>
<br>
events = eeg_eventtable(EEG);<br>
<br>
HTH<br>
<span class="HOEnZb"><font color="#888888">Clemens<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
On Aug 23, 2012, at 10:02 AM, Inga GB <<a href="mailto:i.griskova@gmail.com">i.griskova@gmail.com</a>> wrote:<br>
<br>
> Dear all,<br>
> I need an advice on EEG event codes to be changed in eeglab.<br>
> Lets say, I have and EEG file as. edf, I have 120 events there, but<br>
> they are all marked as 1000. however, I know there are two types of<br>
> events-lets say coded as 20 and 40, and I know their timing-i.e. at<br>
> which time each event happend, or order (first event was 20, second<br>
> was 20, third was 40...). I need to implement this information into<br>
> the data through eeglab-i know the manual option through edit event<br>
> values. Is there any other faster way?<br>
><br>
> Thanks for you time!<br>
><br>
> Kind regards,<br>
><br>
> Inga<br>
> _______________________________________________<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">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
> For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd.edu</a><br>
<br>
<br>
_______________________________________________<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">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd.edu</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Paolo Federico, PhD Candidate in Biotechnology<div>Department of Experimental Medicine, University of L'Aquila</div><div>Via Vetoio, Coppito II, 67100 L'Aquila, Italy  </div>
<div>email: <a href="mailto:paolofed@univaq.it" target="_blank">paolofed@univaq.it</a></div><br>
</div>