필터 지우기
필터 지우기

error message - plot function

조회 수: 2 (최근 30일)
Maelig Chauvel
Maelig Chauvel 2018년 1월 25일
댓글: anas 2023년 12월 15일
This message arrives when I open Matlab : ' Warning: Function plot has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.'
Indeed, my plot function is not working anymore. What can I do ?

채택된 답변

Srikanth Sedimbi
Srikanth Sedimbi 2018년 1월 31일
plot is a built-in MATLAB function. You should be having another function in your workspace with the same name, which is shadowing the built-in plot function.
Execute the following command in MATLAB command window
which -all plot
If you see the last line similar to the one shown below, then your built-in plot function is shadowed
built-in (C:\Program Files\MATLAB\R2017b\toolbox\matlab\graph2d\plot) % Shadowed
Go to the first line of the output, it shows the local function or variable named as 'plot' which is shadowing the built-in.
Clear the variable or delete the shadowing file and this should resolve the issue
  댓글 수: 1
anas
anas 2023년 12월 15일
Thank you very very very a lot bro

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Graphics Objects에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by