Why is GUIDE so much faster than App Designer? Can you help me speed up my App Designer app?

9 次查看(过去 30 天)
I have noticed that App Designer apps can feel a little sluggish, so today I decided to make an apples-to-apples test between a GUIDE app and an App Designer app that do the same thing. The files (gaussian_wander.m and .fig for GUIDE, .mlapp for App Designer) are attached -- the program here just has a 2d Gaussian wandering/jittering around on the screen.
On my computer, with nothing other than MATLAB running on the machine, the GUIDE version averages ~54% per image of the App Designer version... or GUIDE is 1.85x faster.
This may be a consequence of how graphics are handled with App Designer, or some other issue, but I'd be eager to learn about whether there are "best practices" I could be using to speed up the App Designer version?

回答(1 个)

Chadwick Gipson
Chadwick Gipson 2020-7-28
I have the same issue. It is even more prevalent when you have a slider or other user interaction. Following to see if there are any responses.
  1 个评论
David Aronstein
David Aronstein 2020-7-29
Thank you, Chadwick. I have also found that the speed difference is 2x worse for MATLAB 2020a than for earlier versions. Not trending in a promising direction!

请先登录,再进行评论。

类别

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

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by