[Eeglablist] % Obtain electrode labels

Clement Lee cll008 at eng.ucsd.edu
Mon Mar 15 09:14:58 PDT 2021

Hi Zahra,

One way to check is to load the dataset that causes the script to crash.
Once the dataset is loaded, type "EEG.chanlocs" and "EEG.chanlocs.labels"
into the MATLAB command line to see what outputs you get. Perhaps the
EEG.chanlocs structure is completely missing for some reason, in which case
you might want to copy it from another dataset (depending on why it is

Clement Lee
Applications Programmer
Swartz Center for Computational Neuroscience
Institute for Neural Computation, UC San Diego

On Sat, Mar 13, 2021 at 3:14 PM zahra fotovatnia <fotovatnia at yahoo.com>

> Hello
> I am trying to write eegdata in an excel file and used Makoto's script to
> do so. For a few files, the script stopped at this line, and this error
> shows up. I do not know what it means and how I can get the script to run
> this line.
> chLabels = {EEG.chanlocs.labels}'Dot indexing is not supported for
> variables of this type.
> Thank you very much in advance for your consideration.Zahra
> _______________________________________________
> 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

More information about the eeglablist mailing list