Use a value from a sub GUI in the Main GUI and save it to a edit textbox for further use in main GUI

Hi!
I am pretty new to matlab, so this is way out of my league. But no problem is too big, ey? :)
I have created a subGUI successfully, calculating what i want (the turn ratio in a transformer).
So far, I have managed to open this subGUI from my mainGUI using a push button, but I´m having problem getting the turn ratio (result from subGUI) in the mainGUI textbox. My question is then: How can I save this result (turn ratio) to the textbox in the mainGUI?
I hope this explanation is sufficient.
Thanks.

This question is closed.

Asked:

on 30 Jan 2016

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!