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

9 visualizzazioni (ultimi 30 giorni)
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?

Risposte (1)

Chadwick Gipson
Chadwick Gipson il 28 Lug 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 Commento
David Aronstein
David Aronstein il 29 Lug 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!

Accedi per commentare.

Categorie

Scopri di più su Develop Apps Using App Designer in Help Center e File Exchange

Prodotti


Release

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by