GUI variables not going to workspace
Ältere Kommentare anzeigen
Hello,
When running a GUI program I cannot get the variables used in the GUI to show up on my workspace. Is there a reson for this?
Akzeptierte Antwort
Weitere Antworten (2)
Jan
am 8 Sep. 2011
0 Stimmen
Yes, there is a very good reason: If you open mutliple instances of your GUI and some other GUIs in addition, your base workspace would be poluted by a lot of variables and it would be rather impossible to debug, who is responsible for the current values.
It is much safer and cleaner to keep all variables in a well defined location apart from the global workspace.
William
am 8 Sep. 2011
0 Stimmen
Kategorien
Mehr zu Creating, Deleting, and Querying Graphics Objects finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!