MATLAB Answers

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?



No products are associated with this question.

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.


Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!