Skip to content

killUnwantedChannels function results in 'Matrix index is out of range for deletion.' when not reading waveforms #40

@stinos

Description

@stinos

Practically the 'c:<channels>' argument doesn't work in combination with 'noread' because of the unconditional

NEV.Data.Spikes.Waveform(:, NEV.Data.Spikes.Electrode == unWantedChannels(idx)) = [];

line. Suggestion: wrap that one in if ~isempty(NEV.Data.Spikes.Waveform).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions