Simple Matlab App Designer application compiled into a stand-alone executable became very slow

10 次查看(过去 30 天)
Hello,
I have built a simple application using App Designer - compiled into a stand-alone executable.
One tab control - 3 tabs, table + graph on each tab.
No more than 100 rows in each table - small data set (numbers only).
  • whenever I try to scroll up or down, I literally watch paint dry - I see the data portion painting on the screen, then I see the row names painting, after the table is painted it takes 1 second for it to become responsive
  • when try to switch to a new tab, it takes 4-5 seconds after the click for the new tab to start appearing, some additional 1.5 - 2 seconds for the tab to become responsive.
I run Matlab on a 8GB RAM / 2.2GHz machine, task manager shows the following usage: CPU at 5% (Matlab 1.2%), Memory at 60% (Matlab 900 MB), Disk 2% (Matlab 0 Mbps).
Did anybody ever run into a similar issue? Can anybody give me a suggestion?
Thank you

回答(1 个)

Eric Delgado
Eric Delgado 2022-9-19
Yeah. I had to deal with the same issue.
  • You have to update the graphic driver of your computer and your OS (old versions of Windows 10 can turn Matlab into a terrible IDE!).
  • Mathworks made improvements in uitable class in its 2021b release, so now it's ok.

类别

Help CenterFile Exchange 中查找有关 Develop Apps Using App Designer 的更多信息

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by