You can use the dir function to get a list of all the audio files in the folder and loop through them to read them. Here's an example code:
main.m441 chars15 lines
Note that you may need to adjust the audio file format in the dir
function to match the format of your audio files. Also, you can replace the audioread
function with other audio processing functions to perform different operations on the audio data.
gistlibby LogSnag