%% Create Datastores
% Load a labeled signal set containing recordings of whale songs.

load whales
lss

% Display the labels for the first member of the set.

lss.Labels(1,:)

% Get the names of the labels in the set. Create a signal datastore with the signal information and an array datastore with the label information.

lbls = getLabelNames(lss);
[sgd,lbd] = createDatastores(lss,lbls)

% Display the labels for the first member of the set.

lbls = read(lbd);
lbls{:}

% Copyright 2020 The MathWorks, Inc.