Borrar filtros
Borrar filtros

App Designer slow response to maximize window

2 visualizaciones (últimos 30 días)
zs-ea11r
zs-ea11r el 15 de Mzo. de 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.

Respuestas (0)

Categorías

Más información sobre Develop Apps Using App Designer en Help Center y File Exchange.

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by