Azzera filtri
Azzera filtri

figure with many textboxes and arrowshapes takes forever to load

1 visualizzazione (ultimi 30 giorni)
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 Commenti
Walter Roberson
Walter Roberson il 21 Dic 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 il 21 Dic 2018
Hi Walter, thanks for the feedback.
Ok, I will contact Mathworks about this. Thanks for your time!

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Programming in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by