How to call a sub-gui direct from the command window?

1 view (last 30 days)
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
drummer
drummer on 9 Aug 2018
I can, and I did, but it doesn't work.
I wonder if there's something peculiar to do in the code.
Geoff Hayes
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.

Sign in to comment.

Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!