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

 Akzeptierte Antwort

Walter Roberson
Walter Roberson am 14 Nov. 2020

0 Stimmen

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 Kommentar

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Ameer Hamza
Ameer Hamza am 14 Nov. 2020

0 Stimmen

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 Kommentar

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

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by