Getting external variables from GUI
Mostra commenti meno recenti
Hi!
I want to know if there's some way for a GUI made with GUIDE to access external vars. (Or how to give the GUI these vars)
Thanks you a lot!
Risposta accettata
Più risposte (1)
Andy
il 18 Mag 2011
Another way is to save your data to a .mat file and load it in your GUI at runtime. Create a 'Load' button in your GUI, with callback like:
data = load(yourdatafile)
Then you also have the ability to save multiple different sessions and load different sessions into your GUI by asking the user for the data file to load.
1 Commento
Francisco Gómez
il 18 Mag 2011
Categorie
Scopri di più su Interactive Control and Callbacks in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!