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 Center および File ExchangeMeasurements and Feature Extraction についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by