%% Read All Data in Audio Datastore
% Specify the file path to the audio samples included with Audio Toolbox™. Create an audio datastore that points to the specified folder.

folder = fullfile(matlabroot,'toolbox','audio','samples');
ADS = audioDatastore(folder);

%
% Read all the data in the datastore.

readall(ADS)

%
% Copyright 2018 The MathWorks, Inc.