MATLAB: Any suggestions to this fix

audioread

IN EDITOR I HAVE TYPED:
%info = audioinfo('fatalitysound.m4a')
[fastandfaster, fs]= audioread('pop.wav');
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
I am receiving error:
Attempt to execute SCRIPT audioread as a function: C:\Users\Enrique\Documents\MATLAB\audioread.m
_______________________________________________________________
I have a wav file save in my matlab folder I am trying to pull into my program, and I keep encountering this error. Is there something I'm doing wrong?

Best Answer

You ‘overshadowed’ the audioread function.
The solution is to rename your .m file to something different.