How to open a new GUI through a button in previous GUI

Hello,
I'm working in a MATLAB project that contains 2 GUIs. I want to link these two with a push button i.e. whenever that button is pressed, the new GUI gets opened, and the user performs on the 2nd GUI.
Help needed. Thanks in advance.

 Accepted Answer

Just call it. So in the first gui, in the button callback, you do this
[out1, out2] = secondGUI(input1, input2, input3); % or whatever.

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!