<div dir="ltr"><div>Hello Esben,<br><br></div><div>I'm not sure about the first thing, but the second error you described is a known issue, you can download the latest version of EEGLAB (which I believe has this issue fixed) or check <a href="https://sccn.ucsd.edu/bugzilla/show_bug.cgi?id=1722">https://sccn.ucsd.edu/bugzilla/show_bug.cgi?id=1722</a> to see previous discussion and a solution.<br><br></div><div>Best,<br></div><div>Steve<br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><br><br></div>Stephen Politzer-Ahles<br>New York University, Abu Dhabi<br>Neuroscience of Language Lab<br><a href="http://www.nyu.edu/projects/politzer-ahles/" target="_blank">http://www.nyu.edu/projects/politzer-ahles/</a><br></div></div></div>
<br><div class="gmail_quote">On Thu, Jul 30, 2015 at 9:42 PM, 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></div>