<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br></blockquote><div>Hi, EEGlab users,</div><div>We would like to use EEGlab to auto detect bad channels.  The function pop_rejchan seems to do a good job of identifying the bad channels (as we can see when we look at the pop up 'scroll component activities -- eegplot' window showing in red the channels it decides to reject).  However, when one clicks on the 'REJECT' button in the lower right hand corner, we always get the same error.  </div>
<div><br></div><div>Any ideas?  Is this a bug or is my method causing the error?</div><div><br></div><div>Here's the error:</div><div>------------------------------------------------------------------</div></div><div>
??? Error using ==> cellstr at 34</div><div>Input must be a string.</div><div><br></div><div>Error in ==> cell.setdiff at 54</div><div>    b = cellstr(b);</div><div><br></div><div>Error in ==> pop_select at 418</div>
<div>g.channel = sort(setdiff( lower(g.channel), lower(g.nochannel) ));</div><div> </div><div>??? Error while evaluating uicontrol Callback</div><div>---------------------------------------------------------------------</div>
<div><br></div><div>Thanks,</div><div>Kristina Visscher</div>