App Designer won't use discrete graphics card?

4 vues (au cours des 30 derniers jours)
Camile van der Heijden
Camile van der Heijden le 9 Jan 2018
So I've been working on an application in the new App Designer (Matlab version 2016b) and have run in to performance problems. I'm using a timer to regularly (and rapidly) update several line-plots and text areas, however, I've noticed the (discrete Nvidia) GPU in my laptop isn't loaded at all. This causes such a significant performance hit, that the app becomes unusable. To test whether the problem might have something to do with the new 'uifigure' used by the app designer (as opposed to the standard 'figure' that GUIDE uses), I've recreated the app with the timer and all plots/text areas in figure (but without the controls). The 'standard figure version' runs perfectly fine en when checking, I can see the dGPU being put to work (although it doesn't even break a sweat).
Anyone know of a way to fix this problem / force the use of the dGPU in app designer? Unless I find a way, I'm stuck recoding the thing in GUIDE, which is time I'd rather spend on further development.
Much obliged to anyone who can help!
  2 commentaires
Walter Roberson
Walter Roberson le 9 Jan 2018
Oddly, someone happened to recently update what was probably the only related Question about this: https://www.mathworks.com/matlabcentral/answers/212316-how-can-i-stop-matlab-from-using-dedicated-gpu-in-laptop
Camile van der Heijden
Camile van der Heijden le 10 Jan 2018
I think I've come across that question before. Problem is, the dGPU is already the default device, yet the app designer app still refuses to utilize it.
Thanks anyway.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Develop Apps Using App Designer dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by