<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">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>