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

 Respuesta aceptada

Stalin Samuel
Stalin Samuel el 17 de Jun. de 2016
Refer the link here which has details with example code

1 comentario

ElizabethR
ElizabethR el 18 de Jun. de 2016
Editada: ElizabethR el 18 de Jun. de 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

Iniciar sesión para comentar.

Más respuestas (1)

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 comentarios

hi Shameer Parmar, thank you so much, God bless :D
Linda Yakoubi
Linda Yakoubi el 20 de Abr. de 2018
Editada: Linda Yakoubi el 20 de Abr. de 2018
didn'T work ... :/
Nice, It Works
Will it run the .fig and .m files of XYZ by type XYZ; ?

Iniciar sesión para comentar.

Categorías

Más información sobre Interactive Control and Callbacks en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 17 de Jun. de 2016

Comentada:

el 29 de Oct. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by