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

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 日

0 投票

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.

カテゴリ

ヘルプ センター および File Exchange で Develop Apps Using App Designer についてさらに検索

質問済み:

2023 年 11 月 19 日

回答済み:

2023 年 11 月 19 日

Community Treasure Hunt

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

Start Hunting!

Translated by