UIaxes randomly not showing up in App (App Designer)

24 visualizzazioni (ultimi 30 giorni)
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 Commenti
Andrea Quintarelli
Andrea Quintarelli il 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.

Accedi per commentare.

Risposte (2)

Shuba Nandini
Shuba Nandini il 3 Mar 2023
Modificato: Shuba Nandini il 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 Commenti
Andrea Quintarelli
Andrea Quintarelli il 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 il 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.

Accedi per commentare.


Shuangbiao Liu
Shuangbiao Liu il 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.

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Prodotti


Release

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by