convert all .mat files to .wav format in a folder at once

2 ビュー (過去 30 日間)
Juan Kelvin Rwema Ndizihiwe
Juan Kelvin Rwema Ndizihiwe 2023 年 2 月 27 日
回答済み: Jan 2023 年 2 月 27 日
I have several mat files in one folder and I want to convert them all to .wav format? Is it possible to do that at once?
  2 件のコメント
Rik
Rik 2023 年 2 月 27 日
First write the code to do the conversion for one file, then write a loop that calls the first code file by file.
If you have any issues implementing either step: have a read here and here. It will greatly improve your chances of getting an answer.
Juan Kelvin Rwema Ndizihiwe
Juan Kelvin Rwema Ndizihiwe 2023 年 2 月 27 日
thank you very much !

サインインしてコメントする。

回答 (1 件)

Jan
Jan 2023 年 2 月 27 日
No, this cannot work "at once", but one file after the other in a loop. See e.g. FAQ: How to process a sequence of files.
It is not clear, what the MAT files contain, so it is not possible to suggest code for the conversion to a wav file.

カテゴリ

Help Center および File ExchangeVariables についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by