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

1 次查看(过去 30 天)
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 个评论
drummer
drummer 2018-8-9
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 2018-8-12
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.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by