Effacer les filtres
Effacer les filtres

figure with many textboxes and arrowshapes takes forever to load

1 vue (au cours des 30 derniers jours)
Dimitris
Dimitris le 13 Déc 2018
Commenté : Dimitris le 21 Déc 2018
Hi,
I have created a dynamic GUI using MATLAB that allows the user to create boxes in a figure and interconnect them together.
The boxes are annotation textboxes and the connectors are annotation arrowshapes.
When the user is trying to open a previously saved configuration (figure), the figure takes a very long time to load. In the magnitude of minutes.
I found out that the time it is taking to open a figure is bigger with the amount of textboxes and arrowshapes in the figure.
Some testing showed that MATLAB struggles with its internal load function. It eventually does open, but the times are unacceptable.
Is this normal/expected? I am wondering if there is anything I could do to make this process faster.
Any ideas?
  8 commentaires
Walter Roberson
Walter Roberson le 21 Déc 2018
I looked at the profile . It showed that load() is taking the time . load is internal to MATLAB so we cannot determine what is taking so long in the C or C++ code. A process trace at the operating system level could potentially assist in the tracing, but you should probably punt up to Mathworks .
Dimitris
Dimitris le 21 Déc 2018
Hi Walter, thanks for the feedback.
Ok, I will contact Mathworks about this. Thanks for your time!

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Programming dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by