How to call a sub function written in GUI from another GUI?
조회 수: 5 (최근 30일)
이전 댓글 표시
I have written a program which has a few user interface. Each user interface is a GUI. I want to call a sub function written in one GUI after I close the other. For example, I have a interface to select some attributes, and I need to use these attributes in a function at the main GUI after I press the select button and close it an when the focus returned to the main form.
Is there anyway to call the sub functions of a GUI from another GUI?
Thanks
댓글 수: 0
답변 (1개)
Joe Yeh
2016년 10월 4일
A similar question has been asked before.
Please see the link :
Essentially, in the CloseRequestFcn of the first GUI, you'll call the other GUI you want to use, and pass data to the other GUI.
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!