I have about 300 short wav files, which have to be load into MATLAB. I am not able to find any information on how to load all the wav files into Matlab for further processing plz help.

2 visualizzazioni (ultimi 30 giorni)
I know how to load individal file wav file in matlab,but i want to load complete database.

Risposte (1)

KALYAN ACHARJYA
KALYAN ACHARJYA il 25 Mar 2019
% Ensure that all wav files in current directory and file names in proper sequence
wavefiles=dir('*.wav');
for i=1:length(wavefiles)
filename=wavefiles(i).name;
waveFile{i}=audioread(filename);
%Do operartion
end

Categorie

Scopri di più su Signal Processing Toolbox in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by