Undefined function or method 'audioread' for input arguments of type 'char'.

 Accepted Answer

Try searching for mp3read on the File Exchange...

6 Comments

but i have to play mp3 using audioread command not mp3read command
There is no built-in function or command called audioread(). If you have an assignment to write a function called this, or someone has given you a function called this, please clarify your question. If your goal is to play an mp3 file, there is a file on the file exchange that can do this. Search for mp3read.
Thanks Image Analyst! I am using 2011 and 2012, so that's why I didn't see it.To the original question, if 2014 isn't an option (you say you are using 2007), then File Exchange is your next resource.
OK - I didn't notice because they didn't deprecate wavread() and tell you to use audioread() until this (R2014a) version. At least I never noticed. They certainly didn't tell you when you compiled an app, until now (R2014a).

Sign in to comment.

More Answers (1)

addpath 'C:\Users\asrar ahmed\Desktop\Asrar Ahmed\'
c = mp3read('asr.mp3')

Categories

Find more on Scope Variables and Generate Names in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!