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

조회 수: 22(최근 30일)
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일
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
Bachtiar Muhammad Lubis
Bachtiar Muhammad Lubis 2018년 10월 29일
Will it run the .fig and .m files of XYZ by type XYZ; ?

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

범주

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by