MATLAB Answers

rimi
0

linking GUIs in MATLAB

Asked by rimi
on 20 Feb 2012
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??

  0 Comments

Sign in to comment.

Tags

1 Answer

Answer by Chandra Kurniawan on 20 Feb 2012
 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
on 20 Feb 2012
what if we want our first gui to get closed?
Just type
close untitled1
rimi
on 20 Feb 2012
ohh yes i got the answer
just write close(first gui) in the callback!!

Sign in to comment.