Running an older version of app designer in a new one

6 views (last 30 days)
Hi,
I have an app created in App Designer with the version R2021a. When I opened my app today, the following message appeared: "This app was created in MATLAB R2021a. The generated code has been updated for R2021b". When I try to run the app, it takes a long time and at the end it does not appear. In the command prompt of Matlab appears the following message: " Warning: Graphics timeout occured. To share details of this issue with MathWorks technical support, please include that this is a graphics handshaking issue with your service request" (I am attaching an image of this message, "graphic_problem"). And now when I open the app, the component UIAxes plot does not appear in the canvas and when I try to add a new UIAxes component this message appears: "Unable to add component matlab.ui.control.UIAxes. Component creation failed with error: Unrecognized method, property or field 'ServerID' for class 'matlab.graphics.primitive.canvas.JavaCanvas" (see the image "error creating UIAxes").
Do you have some idea what to do?
Thanks in advance for your comments!

Answers (1)

Cris LaPierre
Cris LaPierre on 27 Sep 2021
  1 Comment
Mauricio Bassallo
Mauricio Bassallo on 27 Sep 2021
Hi Cris,
I did it. But the first attempt of solution that they gave me until now was:
"Could you try starting MATLAB from your Linux terminal via:
>>matlab -softwareopengl
After that, try to run your code again and let me know if the issue still exists."
Unfortunately, that does not work in my case because I am using MATLAB Online, as I especified in the request. So, I am waiting for an another suggestion.

Sign in to comment.

Categories

Find more on Develop Apps Using App Designer 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!