find .mp3 and .wav files in folder

2 visualizaciones (últimos 30 días)
Biruntha Gnaneswaran
Biruntha Gnaneswaran el 27 de En. de 2016
Respondida: Stephen23 el 27 de En. de 2016
Hi,
I want to read both .mp3 and .wav files in folder at same time. How can i do this?

Respuestas (1)

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

Categorías

Más información sobre Measurements and Feature Extraction en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by