Filter löschen
Filter löschen

figure with many textboxes and arrowshapes takes forever to load

1 Ansicht (letzte 30 Tage)
Dimitris
Dimitris am 13 Dez. 2018
Kommentiert: Dimitris am 21 Dez. 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 Kommentare
Walter Roberson
Walter Roberson am 21 Dez. 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 am 21 Dez. 2018
Hi Walter, thanks for the feedback.
Ok, I will contact Mathworks about this. Thanks for your time!

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Programming finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by