diff --git a/pop_iclabel.m b/pop_iclabel.m index 5747d37..033fccb 100644 --- a/pop_iclabel.m +++ b/pop_iclabel.m @@ -72,7 +72,7 @@ [ EEG, com ] = eeg_eval( 'iclabel', EEG, 'params', { version } ); varargout = {com}; else - EEG = iclabel(EEG(iEEG), version); + EEG = iclabel(EEG, version); varargout = {['EEG = pop_iclabel(EEG, ' version ');']}; end