How do I convert a .wav file to a .matlab file using wavread?

4 views (last 30 days)
Can anyone help please? I am trying to use wavread to convert .wav to .matfiles but I am getting a message saying "undefined function or variable 'wavread'.
For example one of my named sound files: y = wavread('barber-s-01-t1.wav')
Or is there another way of converting to .mat files?
Any suggestions would be much appreciated.
Thanks in advance.

Answers (1)

Star Strider
Star Strider on 15 Aug 2019
The wavread function was deprecated a while ago. Use the audioread function (R2012b and later versions) instead.

Community Treasure Hunt

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

Start Hunting!