필터 지우기
필터 지우기

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

조회 수: 6 (최근 30일)
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.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Interactive 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