Azzera filtri
Azzera filtri

App Designer slow response to maximize window

2 visualizzazioni (ultimi 30 giorni)
zs-ea11r
zs-ea11r il 15 Mar 2023
Hello the app I am working on is slow to expand all the components to the maximized window size after startup (~2-3 seconds after app maximized the components and panels stretch).
I have tried multiple methods such as drawnow, pauses, maximize set in app properties, maximize set in startupFcn(). I ran profiler and most of the time says it is wasted here:“FigureControlller>FigureController.exportToPngBase64 > waitfor(this, ‘ExportToPngBase64Done’, true);
These profiler results are from Run to App finished maximized components(total ~11sec for the function listed above).
No code should be running that has been developed within the app, since all code waits for user input to buttons or field entries. Other apps I have designed are not this slow. Is this new to matlab app designer with 2022b vs old matlab like 2016? Or is it the total amount of components in the app?
I can’t post the app code for review.

Risposte (0)

Categorie

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

Prodotti


Release

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by