I AM WRITTINF THIS CODE AND GETTING THE FOLLOWING WARNING

조회 수: 1 (최근 30일)
sabitri
sabitri 2022년 7월 23일
답변: Jan 2022년 7월 24일
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
Torsten
Torsten 2022년 7월 23일
Did you name one of your functions "image.m" ? Then you should rename it since it conflicts with the MATLAB function:
sabitri
sabitri 2022년 7월 24일
@Torsten no, i used the function name "image". but then i changed it . but still it is showing warning

댓글을 달려면 로그인하십시오.

채택된 답변

Jan
Jan 2022년 7월 24일
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.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by