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

11 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

Stalin Samuel
Stalin Samuel il 17 Giu 2016
Refer the link here which has details with example code
  1 Commento
ElizabethR
ElizabethR il 18 Giu 2016
Modificato: ElizabethR il 18 Giu 2016
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

Accedi per commentare.

Più risposte (1)

Shameer Parmar
Shameer Parmar il 17 Giu 2016
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 Commenti
Bachtiar Muhammad Lubis
Bachtiar Muhammad Lubis il 29 Ott 2018
Will it run the .fig and .m files of XYZ by type XYZ; ?

Accedi per commentare.

Categorie

Scopri di più su Migrate GUIDE Apps in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by