MATLAB Answers

How can we achieve interfacing of two GUI's?

1 view (last 30 days)
Kishor KS
Kishor KS on 4 Dec 2012
Dear Sir/Madam Here i am trying to do interfacing of two gui's. I have made several gui's. My need is i.e if i click some push button it should open some other gui. Please tell me how to use setappdata and add any sample code. Please find the answer.

Answers (2)

Mark Whirdy
Mark Whirdy on 4 Dec 2012
Edited: Mark Whirdy on 4 Dec 2012
if you just put the name of gui2 inside the callback of the pushbutton of gui1, then gui2 does not open?
gui1_mybutton_callback(hobject,evnts,handles)
gui2;
use setappdata to pass data for more complex interation then
  3 Comments
Kishor KS
Kishor KS on 4 Dec 2012
Thank you sir, i got the answer , i am very happy about the very very quick response from your side , thanks a lot

Sign in to comment.


Image Analyst
Image Analyst on 4 Dec 2012
See the end of this section of the FAQ where it refers you to Doug's tutorials.
It's also not clear if you want one GUI to actually control another GUI, like change images, text, and plots on it, or if you just want to launch the second GUI, have the user interact with it, and then return values back to the first GUI. Which is it?
  1 Comment
Kishor KS
Kishor KS on 4 Dec 2012
@image analyst Thank you, Basically i need to know how one gui is controlled by another gui with interaction between them along with returned values
I just want to launch the second gui from first gui.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!