find .mp3 and .wav files in folder

2 次查看(过去 30 天)
Hi,
I want to read both .mp3 and .wav files in folder at same time. How can i do this?

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Measurements and Feature Extraction 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by