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

6 vues (au cours des 30 derniers jours)
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?

Réponses (1)

Chadwick Gipson
Chadwick Gipson le 28 Juil 2020
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 commentaire
David Aronstein
David Aronstein le 29 Juil 2020
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!

Connectez-vous pour commenter.

Catégories

En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange

Produits


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by