How to read audio file in matlab 2017?

11 views (last 30 days)
I am using Matlab 2017a and trying to read an audio file of extention .wav and I am using the command 'wavread' but it give me the error that undefined function or variable 'wavread'.here is my command to read the file. [sa2 fs] = wavread('sa2.wav', 40000);

Accepted Answer

madhan ravi
madhan ravi on 16 Oct 2018
Edited: madhan ravi on 16 Oct 2018
Try audioread instead
  2 Comments
Faiza Hassan
Faiza Hassan on 4 May 2019
But this gives error of matlb path.
Walter Roberson
Walter Roberson on 4 May 2019
Which MATLAB version are you using, and what is the exact error message?

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!