unrecognized method, property, or field "cla" for class "matlab.ui​.control.U​IAxes".

조회 수: 27 (최근 30일)
Yidan Zhu
Yidan Zhu 2022년 3월 21일
댓글: Image Analyst 2022년 7월 11일
Hi, I got this error in the matlab when running a program. It causes problems in the running the program itself later. Can I know what it means by "unrecognized method, property, or field 'cla' for class 'matlab.ui.control.UIAxes' " ? How can I fix it ?
Thanks a lot!
--Eden

답변 (1개)

Yash Srivastava
Yash Srivastava 2022년 4월 4일
Hi Eden,
I am assuming that you are using “cla” as a method or property of UIAxes.
The intended use of “cla” is as a function.
cla(axes)
You can refer to the documentation below
  댓글 수: 3
Image Analyst
Image Analyst 2022년 7월 11일
Maybe he tried to do something like
axesHandle.cla % cla is not a method or property of the axes handle.
instead of
cla(axesHandle);

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

카테고리

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

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by