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

 Accepted Answer

Walter Roberson
Walter Roberson on 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 Comment

Thank you so much i'll inform my professor.

Sign in to comment.

More Answers (1)

Ameer Hamza
Ameer Hamza on 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 Comment

Thank you.
it seems that my professor sent us an old file full of mistakes.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!