Hi Habib,<br><br>Once you open the two datasets, you can use the Edit >> Append datasets command from the GUI (or the pop_mergeset() command from the MATLAB command line) to merge the dataset. <br><br>As for how to count events, there are a few ways to do it. If you just want to know the overall number of events in the file, this is shown in the "Events" field of the EEGLAB interface when you open a dataset. If you want to know the number of a particular sort of event, you can get that information from the EEG.event field (what I do is write a 'for' loop in MATLAB that goes through each item in EEG.event and keeps track of how many events of each type it finds), or you can epoch the dataset based on that particular event type and then see how many events are left in the new dataset. (There may be simpler ways to count events; I don't know of any other ways, but someone else on the list might.)<br>
<br>Good luck,<br>Steve<br><br><div class="gmail_quote">On Mon, Oct 15, 2012 at 1:11 AM, Research Assistant <span dir="ltr"><<a href="mailto:ra_lums@hotmail.co.uk" target="_blank">ra_lums@hotmail.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr">
HI, <div><br></div><div>I have 2 <span style="font-size:10pt"> </span><span style="font-size:10pt">saved </span><span style="font-size:10pt">data files in .csv format. How can I join these two to form a single dataset in EEG lab. </span></div>
<div><span style="font-size:10pt">Also how can I count the number of events while performing the P300 experiments for the target and non-target events.</span></div><div><span style="font-size:10pt"><br></span></div><div><span style="font-size:10pt"><br>
</span></div><div><span style="font-size:10pt">Thanks</span></div><div><span style="font-size:10pt"><br></span></div><div><span style="font-size:10pt">Habib Paracha</span></div>                                         </div></div>
<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></blockquote></div><br><br clear="all"><br>-- <br>Stephen Politzer-Ahles<br>
University of Kansas<br>Linguistics Department<br><a href="http://people.ku.edu/~sjpa/" target="_blank">http://people.ku.edu/~sjpa/</a><br>