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

30 ビュー (過去 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 件のコメント
JOSUE PÁNCHEZ
JOSUE PÁNCHEZ 2022 年 7 月 11 日
Hey. Did you find a solution?
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 Center および File ExchangeGraphics Object Programming についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by