App Designer slow response to maximize window

2 次查看(过去 30 天)
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.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Develop Apps Using App Designer 的更多信息

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by