figure with many textboxes and arrowshapes takes forever to load

1 次查看(过去 30 天)
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 个评论
Walter Roberson
Walter Roberson 2018-12-21
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 2018-12-21
Hi Walter, thanks for the feedback.
Ok, I will contact Mathworks about this. Thanks for your time!

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by