Matlab R2021b: problems with App Designer - UIAxes and UITables do not appear
8 views (last 30 days)
Show older comments
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 Comments
Stefan Prückl
on 24 Feb 2022
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
on 5 Jan 2023
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.
Answers (1)
Pooya Davari
on 5 Dec 2021
Edited: Pooya Davari
on 5 Dec 2021
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 Comments
Sean
on 15 Feb 2022
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.
See Also
Categories
Find more on Develop Apps Using App Designer 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!