when I try calling image function it is showing error;
显示 更早的评论
CODE
A=imread('D:\test.jpg'); image(A)
ERROR MESSAGE
Warning: Function image has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict. Attempt to call constructor image with incorrect letter case.
Error in Untitled3 (line 2)
image(A)
回答(1 个)
Image Analyst
2018-2-13
Do this:
>> which -all image
You should see this:
built-in (C:\Program Files\MATLAB\R2017b\toolbox\matlab\specgraph\image)
but you won't because you named one of your m-files image.m. Change the name of that file so as to not have the same name as the built-in function and confuse MATLAB.
类别
在 帮助中心 和 File Exchange 中查找有关 Images 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!