Matlab R2021b: problems with App Designer - UIAxes and UITables do not appear
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
Pavan Guntha
on 22 Oct 2021
Could you provide more information regarding the app by attaching the code/ file so that it would be helpful for debugging.
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
0 votes
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
Rik
on 5 Dec 2021
This is not an answer, but a question. The response will be the same as with the OP: share your files.
If it is truly urgent, why did you skip that step?
Also, flags are meant to attract the attention of site admins and users with editing privileges. They are not meant for claims that your question is urgent.
Pooya Davari
on 5 Dec 2021
Edited: Pooya Davari
on 5 Dec 2021
Sorry didnt know, my bad.
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.
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!