Problem with SegmentTool.
1 次查看(过去 30 天)
显示 更早的评论
Dear all,
I have a problem (maybe small problem, but I can´t handle it) with SegmentTool. I downloaded zip here https://www.mathworks.com/matlabcentral/fileexchange/38484-segmenttool--an-interactive-gui-for-segmenting-images and I unzipped this folder. But when I write to the Command Window SegmentTool, so I see this error:
Undefined function 'audioread' for input arguments of type 'char'.
Error in SegmentTool (line 133)
[wav,freq] = audioread('notify.wav');
How do I resolve this? Thank you for your answers.
0 个评论
采纳的回答
Geoff Hayes
2016-9-1
Veronika - which version of MATLAB are you using? According to audioread, this method was introduced in R2012b and so you may not have this function if using an earlier version of MATLAB. At the Command Line, type
which audioread -all
to see if you have this function and
ver
to determine your version of MATLAB.
2 个评论
Image Analyst
2016-9-4
Veronika, it appears you didn't see my solution below. Of course using a more modern version is better though.
更多回答(1 个)
Image Analyst
2016-9-1
You must have a really old version. Try wavread() instead:
[wav,freq] = wavread('notify.wav');
10 个评论
Image Analyst
2016-9-6
Either you have it open in another program, or you have it saved in a place where you can't edit it, like under the Program Files folder somewhere. Move it to a folder where you do have permission.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!