Multiple GUIs: changing text in main gui on pushbutton command in sub gui

4 次查看(过去 30 天)
I am currently trying to write a GUI code that allows me to press an "edit" button in the main gui and goes to a separate window (the sub gui) where the editing occurs of a value. Then, upon pressing a pushbutton in the sub gui the sub gui should close and update a static text string value in the main gui.
Is there a simple way to do this?

回答(1 个)

Firzi Mukhri
Firzi Mukhri 2013-5-25
in the edit button callback write the .fig name of the sub gui.
this video help me solve this. hope it helps you. http://www.mathworks.com/matlabcentral/fileexchange/8616

类别

Help CenterFile Exchange 中查找有关 Desktop 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by