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??

 Réponse acceptée

Walter Roberson
Walter Roberson le 14 Nov 2020

0 votes

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 commentaire

Oumaima Kridiss
Oumaima Kridiss le 14 Nov 2020
Thank you so much i'll inform my professor.

Connectez-vous pour commenter.

Plus de réponses (1)

Ameer Hamza
Ameer Hamza le 14 Nov 2020

0 votes

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 commentaire

Oumaima Kridiss
Oumaima Kridiss le 14 Nov 2020
Thank you.
it seems that my professor sent us an old file full of mistakes.

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by