Pass output arguments obtained through GUI to calling script
Info
This question is closed. Reopen it to edit or answer.
Show older comments
Hello,
It's an eternally returning question, but I can't figure it out based on the available articles/Q&A's. The GUI is set up with GUIDE.
The scenario is as follows. A GUI window appears and the user enters some input. If the user cancels or closes this window, I want a boolean back (used for not to execute the remainder of the calling script). If the user clicks the OK button, I want a variable returned.
For example: I don't understand how to pass the variable (declared in OK_button_Callback), given the fact that on that click event the GUI window closes (by deleting its handles).
Someone that can help me? Thanks in advance!
Answers (1)
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!