when I try calling image function it is showing error;
Afficher commentaires plus anciens
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)
Réponses (1)
Image Analyst
le 13 Fév 2018
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.
Catégories
En savoir plus sur Images dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!