Hi Michael,<br><br>Thanks for the explanation. I just tried that out and it worked for me as well (I had missed it before because when I clicked 'cancel' once the warning would just pop up again... but just now if I clicked 'cancel' over and over again then eventually it would load the data, and like you said the error went away once I selected all but the last point). So now I am able to import the data.<br>
<br>Of course, having to 'cancel' and select data means that data import for multiple subjects can't be automated when I'm using that procedure... I suppose that's not a huge problem, since I can at least import the data manually, but being able to automate it would be quite helpful. I wonder if anyone else on the list has experienced this error?<br>
<br>Thanks again,<br>Steve Politzer-Ahles<br><br><div class="gmail_quote">On Sun, Mar 4, 2012 at 2:32 PM, Michael Schubert <span dir="ltr"><<a href="mailto:mschuber@mail.upb.de">mschuber@mail.upb.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi Steve,<div><br></div><div>when you load the file via the eeglab gui a error message box appears say that you can stop the import or press 'cancel' to fix it from the command line or something like that. I press 'cancel' and the dataset will be loaded anyway. Most functions however will cause the same error, but when you go to Tools/Select data/ and you enter in the 3rd field i think '1:4566' (in case your data had 4567 data points) and save it as a new dataset, I can work with the dataset as usual. Let me know if you have any questions. I hope this works as fine for you.</div>
<div><br></div><div>Michael<br><div>
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div>
<br></div><br></span>
</div>
<br><div><div>Am 04.03.2012 um 06:22 schrieb Stephen Politzer-Ahles:</div><div><div class="h5"><br><blockquote type="cite">Hi Michael,<br><br>Thanks for the suggestion. I'm not sure I follow what you mean, though--you were able to use pop_select() without importing the data?<br>
<br>Best,<br>Steve<br><br><div class="gmail_quote">On Thu, Mar 1, 2012 at 2:40 PM, Michael Schubert <span dir="ltr"><<a href="mailto:mschuber@mail.upb.de" target="_blank">mschuber@mail.upb.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi Stephen,<div><br></div><div>I currently get the same error with some of my *.cnt files, not for all of them though. I don't know what causes this error message and would be glad if anyone could help. However, I figured when I use pop_select() to select data points from 1:end-1 I can work with the dataset without any further errors.<br>

<div>
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div>

<br></div><div>Regards,</div><div>Michael</div><div><br></div></span></div>
<br><div><div>Am 01.03.2012 um 19:08 schrieb Stephen Politzer-Ahles:</div><br><blockquote type="cite"><div><div>Hello,<br><br>I am trying to import continuous Neuroscan (.cnt) files (recorded in 32-bit, from Scan 4.3,Synamps 2 amplifier; I'm using a 64-bit Windows 7 operating system). Regardless of whether I use the GUI or the command line, I get the following warning in MATLAB:<br>


<br><blockquote style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">Warning: Integer operands are required for colon operator when used as index <br>> In loadcnt at 441<br>


  In pop_loadcnt at 126<br></blockquote><br>followed by the following pop-up error message in the GUI:<br><br><blockquote style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">


eeg_checkset error: the number of frames does not divide the number of columns in the data.<br></blockquote><br>After that, it aborts.<br><br>This is the command I'm using:<br><blockquote style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">


EEG = pop_loadcnt('F:\data\raw_AR\subj001.cnt','dataformat','int32')<br></blockquote>(or the equivalent from the GUI.)<br><br>Does anyone have an idea what might be causing the error? A year or so ago I was actually able to import .cnt files on this computer when I was just testing various things, but unfortunately I don't remember what I might have been doing differently back then.<br>


<br>Thank you,<br>Steve Politzer-Ahles<br clear="all"><br>-- <br>Stephen Politzer-Ahles<br>University of Kansas<br>Linguistics Department<br><a href="http://www.linguistics.ku.edu/" target="_blank">http://www.linguistics.ku.edu/</a><br>

</div></div><div>
_______________________________________________<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 "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu" target="_blank">eeglablist-request@sccn.ucsd.edu</a></div></blockquote></div><br></div><br>
<br>
<div>
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div>

<br><br></div><div>---------------------------------------------</div><div>Schubert, Michael Dipl. Ing. (FH)<br><br>wiss. Mitarbeiter<br><br>Fakultät für Naturwissenschaft<br>Department Sport&  Gesundheit<br>Sportmedizinisches Institut<br>

<br>Raum: SP 0.508<br>Fon: <a href="tel:%2B49%20%280%295251%2060-3084" value="+495251603084" target="_blank">+49 (0)5251 60-3084</a><br>Fax: <a href="tel:%2B49%20%280%295251%2060-3188" value="+495251603188" target="_blank">+49 (0)5251 60-3188</a><br>

mschuber[at]<a href="http://mail.uni-paderborn.de/" target="_blank">mail.uni-paderborn.de</a></div></span>
</div>
<br><div>
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div>

<br><br></div><div>---------------------------------------------</div><div>Schubert, Michael Dipl. Ing. (FH)<br><br>wiss. Mitarbeiter<br><br>Fakultät für Naturwissenschaft<br>Department Sport&  Gesundheit<br>Sportmedizinisches Institut<br>

<br>Raum: SP 0.508<br>Fon: <a href="tel:%2B49%20%280%295251%2060-3084" value="+495251603084" target="_blank">+49 (0)5251 60-3084</a><br>Fax: <a href="tel:%2B49%20%280%295251%2060-3188" value="+495251603188" target="_blank">+49 (0)5251 60-3188</a><br>

mschuber[at]<a href="http://mail.uni-paderborn.de/" target="_blank">mail.uni-paderborn.de</a></div></span>
</div>
<br></div></blockquote></div><br><br clear="all"><br>-- <br>Stephen Politzer-Ahles<br>University of Kansas<br>Linguistics Department<br><a href="http://www.linguistics.ku.edu/" target="_blank">http://www.linguistics.ku.edu/</a><br>

</blockquote></div></div></div><br></div></div></blockquote></div><br><br clear="all"><br>-- <br>Stephen Politzer-Ahles<br>University of Kansas<br>Linguistics Department<br><a href="http://www.linguistics.ku.edu/">http://www.linguistics.ku.edu/</a><br>