[Eeglablist] error with pop_iclabel(EEG, 'default')

Fernando Valle-Inclán fvalleinclan at gmail.com
Thu Oct 13 01:55:13 PDT 2022


Hi everyone,
      I find that pop_iclabel  gives an error with some data sets and works
perfectly with others. I have FIRFILT installed. Here is the message I get
in the Matlab command window when running eeglab 2019_1

Index exceeds matrix dimensions.
Error in eeg_rpsd (line 38)
    temp = temp(:, 2:nfreqs + 1, :) * 2 / (EEG.srate*sum(window.^2));

Error in ICL_feature_extractor (line 48)
psd = eeg_rpsd(EEG, 100);

Error in iclabel (line 52)
features = ICL_feature_extractor(EEG, flag_autocorr);

Error in pop_iclabel (line 77)
    EEG = iclabel(EEG, version)

And essentially the same when running eeglab2021.1

Index exceeds matrix dimensions.
Error in eeg_rpsd (line 38)
    temp = temp(:, 2:nfreqs + 1, :) * 2 / (EEG.srate*sum(window.^2));

Error in ICL_feature_extractor (line 48)
psd = eeg_rpsd(EEG, 100);

Error in iclabel (line 52)
features = ICL_feature_extractor(EEG, flag_autocorr);

Error in pop_iclabel (line 109)
    EEG = iclabel(EEG, icversion);




Any help would be greatly appreciated

Fernando Valle



More information about the eeglablist mailing list