Borrar filtros
Borrar filtros

figure with many textboxes and arrowshapes takes forever to load

1 visualización (últimos 30 días)
Dimitris
Dimitris el 13 de Dic. de 2018
Comentada: Dimitris el 21 de Dic. de 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 comentarios
Walter Roberson
Walter Roberson el 21 de Dic. de 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 el 21 de Dic. de 2018
Hi Walter, thanks for the feedback.
Ok, I will contact Mathworks about this. Thanks for your time!

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Programming en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by