how to close the previous app window when I have closed the current app window?

조회 수: 1 (최근 30일)
Muazma Ali
Muazma Ali 2023년 11월 19일
답변: Walter Roberson 2023년 11월 19일
Hi
I have a question; How can I close my previous app window automatically when the current window is closed meaning when I have deleted the current app by using delete (app) function?
Thanks

답변 (1개)

Walter Roberson
Walter Roberson 2023년 11월 19일
With difficulty.
toolbox/matlab/uitools/uicomponents/components/+matlab/+ui/+internal/+controller/+platformhost/CEFFigurePlatformHost.m is an example of utility functions that have logic to track which windows are active and go back to the previous window when a window is deleted. It is not straight-forward.

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by