[Eeglablist] Unrecognized function or variable 'set_chanid'.

Krogmeier, Claudia M ckrogmei at purdue.edu
Thu Apr 8 19:09:59 PDT 2021


I would like to get the channel index of F3, for example.

I modified this code on the eeglab tutorial page, but it is likely outdated:

leftindex = set_chanid(EEG, {'F3'});
rightindex = set_chanid(EEG, {'F4'});

The error I receive is in the title: Unrecognized function or variable 'set_chanid'

I have found a few things in the eeglab list but I have not been able to get the index using the channel name yet.

I have a dataset in which many channels are removed, so I would like to know the new channel indices for various electrodes, using the name of the electrode.

Thank you for the help!

More information about the eeglablist mailing list