Help with edit text GUI
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi! I created a Matlab GUI , where an 'Edit text' command is placed. It is initially empty. At a certain point, when I load a number, it is visualized in this 'Edit text' box, with a command like this
set(handles.edit3,'String',num)
where 'num' is the variable associated to the number. Then, when I press another button, I want this Edit text box to be empty again . How can I set this instruction ?
0 commentaires
Réponse acceptée
Ben11
le 25 Août 2014
At the beginning of this button's callback, use something like this:
set(handles.edit3,'String','')
which displays an empty string
2 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Migrate GUIDE Apps 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!