You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar to #761 but the current version throws the error Index exceeds the number of array elements. Index must not exceed 0. when the elocIn.SCS field is empty. I am trying to convert this Brainstorm chanlocs file into EEGLAB's chanlocs format.
Description
Similar to #761 but the current version throws the error
Index exceeds the number of array elements. Index must not exceed 0.
when theelocIn.SCS
field is empty. I am trying to convert this Brainstorm chanlocs file into EEGLAB's chanlocs format.Extending
eeglab/functions/sigprocfunc/readlocs.m
Line 426 in 02a306c
by
if isfield(elocIn.SCS, chans{iChan}) && ~isempty(elocIn.SCS.(chans{iChan}))
will fix it.Steps to Reproduce
readlocs('channel_BrainProducts_ActiCap_97.mat');
Versions
The text was updated successfully, but these errors were encountered: