Only a recording operation, big brother skip.
Only Code:
close(gui); //想关闭的matlab界面名称——对应gui.m和gui.fig
set(gui2,'Visible','on'); //想打开的界面名称——gui.m和gui.fig
Provided that the production in the same path two interfaces: gui.m & gui.fig
and gui2.m & gui2.fig
:
Then the first one to close the interface, create a button in the button - 查看回调
- call back
, add two lines of code at the beginning of Bowen wrote.
Operation can be realized gui matlab in how to jump from one interface to another interface