Open KlaraSaary opened 1 year ago
Current line 514 in FLW_selection.m (function get_header()): events_temp=header_in.events(find(event_epoch_list ==temp_idx));
events_temp=header_in.events(find(event_epoch_list ==temp_idx));
Error "Index exceeds number of array elements" occurs on several occasions.
If line 514 is changed to:
events_temp=header_in.events(find(ismember(event_epoch_list,temp_idx)));
no error occurs.
Current line 514 in FLW_selection.m (function get_header()):
events_temp=header_in.events(find(event_epoch_list ==temp_idx));
Error "Index exceeds number of array elements" occurs on several occasions.
If line 514 is changed to:
events_temp=header_in.events(find(ismember(event_epoch_list,temp_idx)));
no error occurs.