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

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 Comment

Software created with MATLAB does run very slowly,if you want to run quickly ,you had better to use C# to creat a software

Sign in to comment.

Answers (1)

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.

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Products

Release

R2021a

Asked:

on 17 Sep 2021

Answered:

on 19 Sep 2022

Community Treasure Hunt

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

Start Hunting!