find .mp3 and .wav files in folder

2 visualizzazioni (ultimi 30 giorni)
Biruntha Gnaneswaran
Biruntha Gnaneswaran il 27 Gen 2016
Risposto: Stephen23 il 27 Gen 2016
Hi,
I want to read both .mp3 and .wav files in folder at same time. How can i do this?

Risposte (1)

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

Categorie

Scopri di più su Measurements and Feature Extraction in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by