%% Get Label Names
% Load a labeled signal set containing recordings of whale songs.

load whales
lss

%
% Get the names of the labels in the set.

str = getLabelNames(lss)

% Verify that only the 'TrillRegions' label has sublabels.

for kj = 1:length(str)
    sbstr = str{kj};
    sbl = [sbstr getLabelNames(lss,sbstr)]
end

% Copyright 2018 The MathWorks, Inc.