Running an older version of app designer in a new one

4 次查看(过去 30 天)
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!

回答(1 个)

Cris LaPierre
Cris LaPierre 2021-9-27
  1 个评论
Mauricio Bassallo
Mauricio Bassallo 2021-9-27
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Develop Apps Using App Designer 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by