[Eeglablist] EEGlab pop_chanedit() warning
Ramón Martinez
nucleuscub at gmail.com
Fri Jul 31 00:01:25 PDT 2015
Dear Esben,
This issue (and his solution) has been reported several times to the list
and to the EEGLAB bug tracker (Bugzilla <https://sccn.ucsd.edu/bugzilla/>).
Take a look to this report
<https://sccn.ucsd.edu/bugzilla/show_bug.cgi?id=1722> and the fix provided
on it.
Best,
Ramon
On Thu, Jul 30, 2015 at 10:42 AM, Esben K <eklarlund at gmail.com> wrote:
> Hi everyone,
>
> I'm a beginner at both matlab and eeglab and I encountered this problem
> <http://sccn.ucsd.edu/pipermail/eeglablist/2014/007550.html> 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:
>
> Warning: channel labels should not be empty, creating unique labels
>>
>> readlocs(): 'loc' format assumed from file extension
>>
>> cannot plot: no XYZ coordinates
>>
>>
> I attempted to call eeglab functions from the command line as
> suggested by Arnaud Delorme
> <http://sccn.ucsd.edu/pipermail/eeglablist/2014/007608.html>, but I
> received additional error messages:
>
> 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'});
>>
>> Operands to the || and && operators must be convertible to logical scalar
>>> values.
>>
>>
>>> Error in pop_chanedit (line 163)
>>
>> if isempty(chans) || ~ishandle(chans)
>>
>>
> and for Arnaud's second suggestion:
>
> >> rawInputEEG.chanlocs=
>> readlocs('C:\Users\Esben\Documents\EEGlab\eeglab13_4_4b\sample_data\eeglab_chan32.locs');
>
> readlocs(): 'loc' format assumed from file extension
>
> Warning: Struct field assignment overwrites a value with class "char". See
>> MATLAB R14SP2 Release Notes, Assigning
>
> Nonstructure Variables As Structures Displays Warning, for details.
>
> >> rawInputEEG = eeg_checkset(rawInputEEG);
>
> IMPORTANT: After importing/modifying data channels, you must close
>
> the channel editing window for the changes to take effect in EEGLAB.
>
> TIP: Call this function directy from the prompt, ">> pop_chanedit([]);"
>
> to convert between channel location file formats
>
> Warning: channel labels should not be empty, creating unique labels
>
> readlocs(): 'loc' format assumed from file extension
>
> >> rawInputEEG =pop_chanedit(rawInputEEG);
>
> Reference to non-existent field 'nbchan'.
>
>
>> Error in pop_chanedit (line 170)
>
> nchansori = EEG.nbchan;
>
>
>
>
> Could there be something wrong in the definition file (
> https://bitbucket.org/sccn_eeglab/eeglab/src/b5c3b5316735254f2a73c7338cd3aca4634b5fb3/sample_data/eeglab_chan32.locs?at=master
> )?
>
> _______________________________________________
> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
> To unsubscribe, send an empty email to
> eeglablist-unsubscribe at sccn.ucsd.edu
> For digest mode, send an email with the subject "set digest mime" to
> eeglablist-request at sccn.ucsd.edu
>
--
_____________________________________________________
Ramon Martinez-Cancino
Swartz Center for Computational Neuroscience
Institute for Neural Computation, University of California San Diego
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20150731/4340471e/attachment.html>
More information about the eeglablist
mailing list