find .mp3 and .wav files in folder

1 vue (au cours des 30 derniers jours)
Biruntha Gnaneswaran
Biruntha Gnaneswaran le 27 Jan 2016
Hi,
I want to read both .mp3 and .wav files in folder at same time. How can i do this?

Réponses (1)

Stephen23
Stephen23 le 27 Jan 2016
S = [dir('*.mp3');dir('*.wav')]
N = {S.name}
for k + numel(N)
N{k} % name of file
.. your code
end

Catégories

En savoir plus sur Audio I/O and Waveform Generation dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by