%% Shuffle Files
% Create an audioDatastore object ADS. Shuffle the files to create a new datastore containing the same files in random order.

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

%

ADSshuffled = shuffle(ADS)

%
% Copyright 2018 The MathWorks, Inc.