I AM WRITTINF THIS CODE AND GETTING THE FOLLOWING WARNING

1 visualización (últimos 30 días)
sabitri
sabitri el 23 de Jul. de 2022
Respondida: Jan el 24 de Jul. de 2022
clc
clear all
u= imread('b.jpg');
A=rgb2gray(u);
Warning: Function image has the same name as a MATLAB builtin. We suggest you rename
the function to avoid a potential name conflict.
  2 comentarios
Torsten
Torsten el 23 de Jul. de 2022
Did you name one of your functions "image.m" ? Then you should rename it since it conflicts with the MATLAB function:
sabitri
sabitri el 24 de Jul. de 2022
@Torsten no, i used the function name "image". but then i changed it . but still it is showing warning

Iniciar sesión para comentar.

Respuesta aceptada

Jan
Jan el 24 de Jul. de 2022
Check this again:
which image -all
Is there a user-defined function in the list?
If not, clear all should solve the problem already. But maybe a restart of Matlab helps also.

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by