unrecognized method, property, or field "cla" for class "matlab.ui.control.UIAxes".
30 views (last 30 days)
Show older comments
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
0 Comments
Answers (1)
Yash Srivastava
on 4 Apr 2022
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 Comments
Image Analyst
on 11 Jul 2022
Maybe he tried to do something like
axesHandle.cla % cla is not a method or property of the axes handle.
instead of
cla(axesHandle);
See Also
Categories
Find more on Graphics Object Programming in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!