Why do I receive an error stating that my UIAxes component cannot be added?

35 views (last 30 days)
I have been designing an app using the Appdesigner in MATLAB online that requires an axis component. But, when I closed the appdesigner window after initially creating the required components and open again, I get the following error pop-up:
"Unable to create component
matlab.ui.control.UIAxes. Component creation failed with error:
Unrecognized method, property or field 'ServerID' for class 'matlab.graphics.primitive.canvas.Javacanvas'."
Still, I get all the other components perfectly, except the axis component. I even created the app multiple times, and get the same problem over and over again.
@Mathworks, can anyone provide some insight on what can I do to rectify it or if this is a bug, take necessary action at the earliest.
Thanks in advance.

Answers (1)

Cris LaPierre
Cris LaPierre on 29 Sep 2021
Please report this here.
  7 Comments
Prashanth Soundararajan
Prashanth Soundararajan on 8 Oct 2021
Hi @Mauricio Bassallo, today I got a reply from Mathworks support saying that they had found a bug in the uifigure on MATLAB online and they are working on it to fix it in a future release. The person suggested me to work on an installed version. So, I hope this gets resolved soon on MATLAB online.
Barry Bickmore
Barry Bickmore on 29 Sep 2022
This just happened to me on an installed version, and it corrected itself after I quit MATLAB and restarted it.

Sign in to comment.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!