We typically use a selected go in Matlab to figure upon, however over and over we’d like to import a collection of files as a data-set to check with. I even have used one such methodology to show the way to choose and import all the files and their names from the contiguous folder.

The following code depicts that how I imported all the audio files from the folder and extracted them using wave read and additionally extracted their names

You need to make a brand new Matlab load_audio_from_folder.m function and paste the above code therein and save…


Now create a brand new Matlab.m Script file for e.g main.m and paste the subsequent code.


This returns all the files and files names within the arrays audio_signals and word _labels respectively.