UIaxes randomly not showing up in App (App Designer)

21 views (last 30 days)
Hey guys,
I currently experience a situation where the UIAxes of my app sometimes are not loaded (they don't show up) when i load my app. Some other times they do instead, without any apparent reason for either one or the other scenario. The app has 17 UIAxes. Any suggestion would be very appreciated! Thank you very much!
  2 Comments
Andrea Quintarelli
Andrea Quintarelli on 2 Feb 2023
Hi Jiri,
thanks for your feedback. I read that thread already before posting, but it does not seem to apply to my case. The limitation to 16 UIAxes seem to have been removed and my graphic card seems to be ok in terms of drivers.

Sign in to comment.

Answers (2)

Shuba Nandini
Shuba Nandini on 3 Mar 2023
Edited: Shuba Nandini on 3 Mar 2023
Hi Andrea,
I understand that you are having a trouble loading UIAxes of your app. Here are few reasons due to which UIAxes may not load properly:
  1. If your system is running low on resources, this could cause the UIAxes not to open consistently. Try closing other programs or reducing the load on your system to see if this helps.
  2. If there is an error in your code that is causing the UIAxes not to open, it may only happen sometimes. Make sure to check your code for any errors or issues that could be causing this behaviour.
To add an extra information, there is no specific limit to the number of UIAxes that can be created in the MATLAB Application but creating many of them can impact the performance of application.
Please refer to this links for more information on this topic:
Hope this helps!
  2 Comments
Andrea Quintarelli
Andrea Quintarelli on 3 Mar 2023
hi Shuba,
I checked that link (and did also before posting). Anyway, I cannot find any error in the positioning of my UIAxes or any other other thing that would hint at something wrong with the design of the UIAxes themselves.
In fact, those were already there and were not really changed recently and previously I did not had this issue.
The tool also went through several upgrades of Matlab (from 2019 to 2022) an only recently this issue started to present very often.
Not sure if this helps, but I noticed that the only occasions where I can start the app without having all the times, is when I start Matlab again and then load the app designer and my app.
Andrea Quintarelli
Andrea Quintarelli on 12 Mar 2023
@Shuba Nandini could my issue be caused by an hard drive problem? It seems my HD is pretty overoaded all the time, lately.

Sign in to comment.


Shuangbiao Liu
Shuangbiao Liu on 13 Nov 2023
Hi, I have the same issue now. Note that my lapltop (no Matlab installed) remotely accesses a desktop where Matlab and app are located.
I have been using R2022b since August, and it works perfectly until I installed the Matlab compiler last week (maybe coincident). I uninstalled the Matlab compiler, it did not help. Then, I uninstalled the Matlab and re-installed the R2022b Matlab (now only update 7 available so it is different from my original one), it did not help either.
Now I installed R2023a, and it seems work fine.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!