find .mp3 and .wav files in folder

1 Ansicht (letzte 30 Tage)
Biruntha Gnaneswaran
Biruntha Gnaneswaran am 27 Jan. 2016
Beantwortet: Stephen23 am 27 Jan. 2016
Hi,
I want to read both .mp3 and .wav files in folder at same time. How can i do this?

Antworten (1)

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

Kategorien

Mehr zu Audio I/O and Waveform Generation finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by