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

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일

0 개 추천

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

카테고리

도움말 센터File Exchange에서 Desktop에 대해 자세히 알아보기

질문:

2013년 3월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by