필터 지우기
필터 지우기

App Designer slow response to maximize window

조회 수: 2 (최근 30일)
zs-ea11r
zs-ea11r 2023년 3월 15일
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