How to call a sub-gui direct from the command window?
1 view (last 30 days)
Show older comments
Hello fellows. I'm using GUIDE, and everything is working good.
So, I have the main GUI with a pushbutton to a sub-GUI. There's no need to share data.
But I have already seen GUIs with pushbuttons that lead to sub-GUIs, and I can call this sub-GUI directly from the command window in MatLab.
For instance, I can type in the command window:
maingui subgui
and then, the subgui popups directly.
Can anyone help in the code about how to perform this?
Thanks in advance.
3 Comments
Geoff Hayes
on 12 Aug 2018
drummer - please show the code that you have added to your GUI to launch the second GUI. Also, check the command line for any errors that might have been thrown when this code is executed.
Answers (0)
See Also
Categories
Find more on Startup and Shutdown 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!