In App Designer, how can I refer to the controls in one GUI from another GUI?
조회 수: 2 (최근 30일)
이전 댓글 표시
Basically, in App Designer, I have 2 GUIs opened at the same time: GUI1_App and GUI2_App. GUI1_App includes a "Static Text" while GUI2_App includes a "Push Button". I would like the Color property of the Static Text in GUI1_App to change when I push the Push Button on GUI2_App.
Essentially, my question is how can I refer to the controls in GUI1_App from GUI2_App? how can I refer to the controls in GUI1_App from GUI2_App?
댓글 수: 5
Adam
2019년 9월 3일
You will need to pass GUI1_App into GUI2_App when you launch it. GUI1_App should be called app in the function where you launch GUI2_App. Passing arguments to an app as described in
채택된 답변
추가 답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!