You can use a for loop to sequentially read audio files in MATLAB and name them as variables. Here's an example code:
main.m576 chars20 lines
This code reads all the WAV files in a folder one-by-one, and names the audio data as variables y1, y2, and so on, sequentially. You can modify the naming convention to suit your use case.
gistlibby LogSnag