フィルターのクリア

Check/Uncheck box in app designer after opening and closing a secondary figure

6 ビュー (過去 30 日間)
Ratanjot
Ratanjot 2023 年 2 月 15 日
コメント済み: Voss 2023 年 2 月 15 日
I have created an example app that includes a check box. Once it is checked, it will open up a second figure and display data in a table. The problem I am having is that once the user decides to close out of the table figure via the red 'X', the box doesn't go unchecked. As well, if the user decides to close the table figure by unchecking the box in the main figure, the table figure won't close. The checkbox is basically acting like a show/hide box for the table in a seperate figure. I have attached the app file and the data for the table for example. Thank you.

採用された回答

Voss
Voss 2023 年 2 月 15 日
See the attached modified app and m-file. See the comments in the code for descriptions of how it works.
In addition to the behavior you specified, I also made it so that when the app is closed, the second figure is also closed if it exists.
  2 件のコメント
Ratanjot
Ratanjot 2023 年 2 月 15 日
Thank you. That works!
Voss
Voss 2023 年 2 月 15 日
You're welcome!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeInteractive Control and Callbacks についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by