Hi Nasser,<br><br><div>The writecnt.m function is intended for writing the Neuroscan cnt file format.</div><div>The read_eep_cnt.m function has a compatible counterpart write_eep_cnt.m in our latest Matlab plugin, available here</div>
<div><a href="http://www.ant-neuro.com/download/misc">http://www.ant-neuro.com/download/misc</a><br></div><div>You shoud replace the default version in the EEGLAB plugins with this directory: "anteepimport1.06"</div>
<div><br></div><div>Best,</div><div>Maarten</div><div><br><div class="gmail_quote">On Mon, Jan 19, 2009 at 7:49 PM, Nasser Mourad <span dir="ltr"><<a href="mailto:nmourad_2000@yahoo.com">nmourad_2000@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="font-family:times new roman, new york, times, serif;font-size:14pt"><div>
<p style="margin:0cm 0cm 0pt"><font size="3">Hi,</font></p>
<p style="margin:0cm 0cm 0pt"><font size="3">I have a cnt file called my_file.cnt. The number of channels in this file is 129. I want to apply some signal processing techniques on the EEG data in this file using Matlab. For doing this, I used the function (</font><span style="font-size:10pt;font-family:'Courier New'">read_eep_cnt.m</span><font size="3">) to read the data. After processing the data, I tried to convert it back to the cnt format. I know that the function (</font><span style="font-size:10pt;font-family:'Courier New'">writecnt.m) can be used for doing this. However, this function needs header information, which is not provided by the function </span><font size="3">(</font><span style="font-size:10pt;font-family:'Courier New'">read_eep_cnt.m</span><font size="3">). Finally I discovered that the headers needed by the function (</font><span style="font-size:10pt;font-family:'Courier New'">read_eep_cnt.m</span><font size="3">)
can be obtained by reading the data using the function (</font><span style="font-size:10pt;font-family:'Courier New'">loadcnt.m</span><font size="3">) rather than the function (</font><span style="font-size:10pt;font-family:'Courier New'">read_eep_cnt.m</span><font size="3">). The problem is that, the function (</font><span style="font-size:10pt;font-family:'Courier New'">loadcnt.m</span><font size="3">) does not read the EEG data correctly. For example, when I used this function to read the data in the file my_file.cnt, the function produced a dataset with 4012 channels!!!! rather than 129 channels.</font></p>
<p style="margin:0cm 0cm 0pt"><font size="3">So, can you please tell me how can I solve this problem?</font></p>
<p style="margin:0cm 0cm 0pt"><font size="3"> </font></p>
<p style="margin:0cm 0cm 0pt"><font size="3">Best,</font></p>
<p style="margin:0cm 0cm 0pt"><font size="3">Nasser</font></p></div></div><font color="#888888"><br>
</font></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></div>