Skip to content

FLW_selection.m - index exeeds array elements #20

Description

@KlaraSaary

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions