My professsor gave us this but when i use it tells me "Undefined function or variable 'wavwrite'."
i tried to type help wavwrite but nothing comes out.
was it removed like wavplay??

 採用された回答

Walter Roberson
Walter Roberson 2020 年 11 月 14 日

0 投票

It was removed in R2015b. There is a compatibility function at https://github.com/breizhn/new_wav but really all it does is add a .wav file extension if there is no file extension, and then call audiowrite with the same parameters

1 件のコメント

Oumaima Kridiss
Oumaima Kridiss 2020 年 11 月 14 日
Thank you so much i'll inform my professor.

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

その他の回答 (1 件)

Ameer Hamza
Ameer Hamza 2020 年 11 月 14 日

0 投票

No, this seems to be some old function, which is not available in recent versions of MATLAB. Now use audiowrite: https://www.mathworks.com/help/matlab/ref/audiowrite.html

1 件のコメント

Oumaima Kridiss
Oumaima Kridiss 2020 年 11 月 14 日
Thank you.
it seems that my professor sent us an old file full of mistakes.

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

Community Treasure Hunt

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

Start Hunting!

Translated by