MATLAB Answers


changing command form old version to new version of matlab

Asked by alaa basel on 6 Mar 2018
Latest activity Commented on by Star Strider
on 6 Mar 2018
hello everyone I need to change this command without lost the data in it ([x fs nbit]=wavread(TestWavFile{i});) that is the command I need to know how Matlab change it


Sign in to comment.


1 Answer

Answer by Star Strider
on 6 Mar 2018

The audioread (link) function should do what you want.


i change the wavread into audioread the matlab didn't except it because the nbit so i want to change it and give me the same meaning
@alaa: Please post your code and the complete error message. "Changed to audioread and didn't accept it because the nbit" does not allow to understand, what exactly happens. See the documentation of audioread and audioinfo.
If you want the other information from your .wav file, use the audioinfo (link) function.

Sign in to comment.