find .mp3 and .wav files in folder

조회 수: 2 (최근 30일)
Biruntha Gnaneswaran
Biruntha Gnaneswaran 2016년 1월 27일
답변: Stephen23 2016년 1월 27일
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