Reset datastore read pointer to start of data
folder = fullfile(matlabroot,'toolbox','audio','samples'); ADS = audioDatastore(folder);
While the datastore has unread files, call
read in a loop to read files sequentially.
while hasdata(ADS) data = read(ADS); end
Reset the datastore to the state where no data has been read from it. Read the first file from the datastore.
reset(ADS) data = read(ADS);