Matlab R2021b: problems with App Designer - UIAxes and UITables do not appear

7 次查看(过去 30 天)
My app, which ran without problems in Matlab R2021a, is no longer correctly executed in Matlab R2021b ("Run" in App Designer). The app starts, but UIAxes and UITables do not appear.
How can I fix this?
  3 个评论
Stefan Prückl
Stefan Prückl 2022-2-24
I have the same problem with Matlab R2021b
Uitables do not appear aflter load mlapp file. Just the loading placeholder is displayed.
This is very annoying.
José Pedro Crisóstomo Teles
I know this is an old question, but I ran into the same problem when moving from Matlab R2021b to Matlab R2022a...
The thing is the app design and coding I was working on was developed by 2 people before me (who were working on R2021b). When I started the app on Matlab R2022a the app seemed fine at first sight, but the UIAxes weren't showing...
After a lot of internet research and troubleshooting... I took a deeper look at the release notes of the Matlab R2022a version, with focus on App Building, and surprise, surprise... The issue is that there can be one or more UIAxes or UITables positioned not interely on the boundaries of its "parents", and it causes the app to fail to develop and run properly on startup.
What the other two developers did was just that. With a few adjustments to the positioning of the UIAxes I got the app to function without any problems.

请先登录,再进行评论。

回答(1 个)

Pooya Davari
Pooya Davari 2021-12-5
编辑:Pooya Davari 2021-12-5
Hi,
I have the same issue, it was working for sometime. Then it became random. sometimes it was loading UIAXES and UITABLE and some time not. Now it is not loading anymore. I made the app with R2021a version then I even downloaded R2021b to see if it gets fixed.
The only solution I found is that I installed 2020a version and it works now. It is a bit slower but it works!
  3 个评论
Sean
Sean 2022-2-15
I have also experienced the same problem, if loading an App created in earlier version with UIAxes then any attempt to open using R2021a fails, the App Builder just closes. I've tried creating a new App in R2021a, this opens fine but as soon as I drag a Axes onto the design canvas, the App Builder jus closes down again. All works just fine with R2020b.

请先登录,再进行评论。

类别

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

标签

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by