How to use the same gui for many times to save variables withe different index?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I want to use the same GUI many times during the program to save variables with different index number each time. Moreover, I want to make a static text changed every time. Is there anyone can help me to do that?
0 commentaires
Réponses (1)
Julia
le 2 Oct 2014
Hi,
It is no problem to call the same GUI several times.
You can save the variables in an array and change the static text depending on the input. I would do this in the callback function of the enter/ok button (if you have one).
You have to pay attention to the handles.structure. For example, each time you change the text, you have to update the handles structure.
0 commentaires
Voir également
Catégories
En savoir plus sur Workspace Variables and MAT-Files dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!