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

 採用された回答

Paul Shepherd
Paul Shepherd 2014 年 4 月 18 日

0 投票

Try searching for mp3read on the File Exchange...

6 件のコメント

zaryab arif
zaryab arif 2014 年 4 月 18 日
but i have to play mp3 using audioread command not mp3read command
Paul Shepherd
Paul Shepherd 2014 年 4 月 18 日
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.
Image Analyst
Image Analyst 2014 年 4 月 18 日
audioread() began with R2014a.
Paul Shepherd
Paul Shepherd 2014 年 4 月 18 日
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.
Walter Roberson
Walter Roberson 2014 年 4 月 18 日
audioread() began with R2012b
Image Analyst
Image Analyst 2014 年 4 月 19 日
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).

サインインしてコメントする。

その他の回答 (1 件)

asrar asrar
asrar asrar 2016 年 10 月 21 日
編集済み: Walter Roberson 2016 年 10 月 21 日
addpath 'C:\Users\asrar ahmed\Desktop\Asrar Ahmed\'
c = mp3read('asr.mp3')

カテゴリ

ヘルプ センター および File ExchangeScope Variables and Generate Names についてさらに検索

質問済み:

2014 年 4 月 18 日

編集済み:

2016 年 10 月 21 日

Community Treasure Hunt

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

Start Hunting!

Translated by