Audioinfo - 'undefined function for type char' error
1 次查看(过去 30 天)
显示 更早的评论
Hi,
I try to get the info from a wave file using the function 'audioinfo'. However, no matter what I do, I keep getting that "Undefined function 'audioinfo' for input arguments of type 'char'." error.
I tried
[filename, filepath] = uigetfile();
fullname = fullfile(filepath, filename);
info=audioinfo(fullname);
But even when I put the file in my current folder and type in the actual name, I keep getting the error.
I'm pretty lost. Any help VERY appreciated. Thank you :)
0 个评论
采纳的回答
Star Strider
2016-6-21
The audioinfo funciton was introduced in MATLAB version R2012b. If you have an earlier version, you will not have it.
2 个评论
Star Strider
2016-6-22
My pleasure!
Looking through the R2012a online documentation (the release immediately before the one in which wavinfo made its debut), R2012a has the wavinfo function that would seem to do what you want.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!