linking GUIs in MATLAB

how to link 1 GUI in MATLAB with other.for example in the first GUI there is 1 pushbutton if it is pressed then a new GUI for that button press opens??

 Accepted Answer

Hi,
Let say I have 2 GUIs.
untitled1
untitled2
In first GUI I have pushbutton to call the second GUI.
Just type untitled2 in the pushbutton callback.

3 Comments

rimi
rimi on 20 Feb 2012
what if we want our first gui to get closed?
Just type
close untitled1
rimi
rimi on 20 Feb 2012
ohh yes i got the answer
just write close(first gui) in the callback!!

Sign in to comment.

More Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!