Filter löschen
Filter löschen

App Designer slow response to maximize window

2 Ansichten (letzte 30 Tage)
zs-ea11r
zs-ea11r am 15 Mär. 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.

Antworten (0)

Kategorien

Mehr zu Develop Apps Using App Designer finden Sie in Help Center und File Exchange

Produkte


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by