how to open another gui from existing gui using push button ?

i have to gui, the main gui and the sub gui. I want to open the sub gui from main gui using push button ( guide ). How to make it ? thank you

 채택된 답변

Stalin Samuel
Stalin Samuel 2016년 6월 17일

2 개 추천

Refer the link here which has details with example code

댓글 수: 1

ElizabethR
ElizabethR 2016년 6월 18일
편집: ElizabethR 2016년 6월 18일
hi Stalin Samuel, thank you so much for your example code. Your simple code is easy to learn and make me understand. God Bless :D

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Shameer Parmar
Shameer Parmar 2016년 6월 17일
Lets consider you have 'ABC' is main GUI and 'XYZ' is sub GUI and 'OK' is the push button of GUI ABC
then in callback of OK push button of GUI ABC, simply put..
XYZ; % this command is to open the new GUI
close(ABC); % this command is to close the existing GUI

댓글 수: 4

hi Shameer Parmar, thank you so much, God bless :D
Linda Yakoubi
Linda Yakoubi 2018년 4월 20일
편집: Linda Yakoubi 2018년 4월 20일
didn'T work ... :/
Nice, It Works
Will it run the .fig and .m files of XYZ by type XYZ; ?

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by