MATLAB Answers

0

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

Asked by Alejandro Lavernia on 20 Mar 2013
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?

  0 Comments

Sign in to comment.

1 Answer

Answer by Firzi Mukhri on 25 May 2013

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

  0 Comments

Sign in to comment.