<div dir="ltr"><div>Dear Esben, </div><div> This issue (and his solution) has been reported several times to the list and to the EEGLAB bug tracker (<a href="https://sccn.ucsd.edu/bugzilla/">Bugzilla</a>). Take a look to <a href="https://sccn.ucsd.edu/bugzilla/show_bug.cgi?id=1722">this report</a> and the fix provided on it.</div><div>Best,</div><div> Ramon</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 30, 2015 at 10:42 AM, Esben K <span dir="ltr"><<a href="mailto:eklarlund@gmail.com" target="_blank">eklarlund@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi everyone,<div><br></div><div>I'm a beginner at both matlab and eeglab and I encountered <a href="http://sccn.ucsd.edu/pipermail/eeglablist/2014/007550.html" target="_blank">this problem</a> in Chapter 2.  I'm using eeglab v13.4.4b and matlab 8.5. I followed the instructions for loading channel definitions interactively (using edit-> channel locations), but I received the following warning: </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Warning: channel labels should not be empty, creating unique labels </blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">readlocs(): 'loc' format assumed from file extension</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">cannot plot: no XYZ coordinates</blockquote></blockquote><div><br></div><div>I attempted to call eeglab functions from the command line <a href="http://sccn.ucsd.edu/pipermail/eeglablist/2014/007608.html" target="_blank">as suggested by Arnaud Delorme</a>, but I received additional error messages:</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">rawInputEEG =pop_chanedit('C:\Users\Esben\Documents\EEGlab\eeglab13_4_4b\sample_data\eeglab_data.set', 'load',{ 'C:\Users\Esben\Documents\EEGlab\eeglab13_4_4b\sample_data\eeglab_data.set', 'filetype', 'loc'});</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Operands to the || and && operators must be convertible to logical scalar values.</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Error in pop_chanedit (line 163)</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">if isempty(chans) || ~ishandle(chans)</blockquote></blockquote><div><br></div><div>and for Arnaud's second suggestion:</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">>> rawInputEEG.chanlocs= readlocs('C:\Users\Esben\Documents\EEGlab\eeglab13_4_4b\sample_data\eeglab_chan32.locs');</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">readlocs(): 'loc' format assumed from file extension</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Warning: Struct field assignment overwrites a value with class "char". See MATLAB R14SP2 Release Notes, Assigning</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Nonstructure Variables As Structures Displays Warning, for details. </blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">>> rawInputEEG = eeg_checkset(rawInputEEG);</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">IMPORTANT: After importing/modifying data channels, you must close</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">the channel editing window for the changes to take effect in EEGLAB.</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">TIP: Call this function directy from the prompt, ">> pop_chanedit([]);"</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">     to convert between channel location file formats</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Warning: channel labels should not be empty, creating unique labels </blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">readlocs(): 'loc' format assumed from file extension</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">>> rawInputEEG =pop_chanedit(rawInputEEG);</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Reference to non-existent field 'nbchan'.</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Error in pop_chanedit (line 170)</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">        nchansori     = EEG.nbchan;</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"> </blockquote><div><br></div><div> Could there be something wrong in the definition file (<a href="https://bitbucket.org/sccn_eeglab/eeglab/src/b5c3b5316735254f2a73c7338cd3aca4634b5fb3/sample_data/eeglab_chan32.locs?at=master" target="_blank">https://bitbucket.org/sccn_eeglab/eeglab/src/b5c3b5316735254f2a73c7338cd3aca4634b5fb3/sample_data/eeglab_chan32.locs?at=master</a>)?</div></div>
<br>_______________________________________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" rel="noreferrer" 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"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><span style="color:rgb(136,136,136)">_____________________________________________________</span><br></div><div><span style="color:rgb(136,136,136)">Ramon Martinez-Cancino</span></div><span style="color:rgb(136,136,136)">Swartz Center for Computational Neuroscience</span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Institute for Neural Computation, University of California San Diego</span><br></div></div>
</div>