How to use one pushbutton to open different GUI page

1 view (last 30 days)
Dear friends, I have a main gui with some pushbutton(including pushbutton1), want to open a second gui by clicking on pushbutton1. second gui page include some pushbutton and pop-op menu. please send codes for creating Nested gui pages. Regards

Accepted Answer

Image Analyst
Image Analyst on 13 Mar 2013
In the callback function of pushbutton1, just call your second GUI by name, passing it any needed arguments, like
[output1 output2] = YourSecondGUI(input1, input2, input3);

More Answers (0)

Categories

Find more on Interactive Control and Callbacks in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!