%% Reset Label Values
% Load a labeled signal set containing recordings of whale songs. Get the names of the labels.

load whales
lss
getLabelNames(lss)

%
% Get the label values corresponding to the trill regions for the second signal in the set.

idx = 2;
getLabelValues(lss,idx,'TrillRegions')

%
% Reset the values. Verify that 'TrillRegions' becomes an empty array.

resetLabelValues(lss,idx,'TrillRegions')

getLabelValues(lss,idx,'TrillRegions')
getLabelValues(lss,idx)

% Copyright 2018 The MathWorks, Inc.