Effacer les filtres
Effacer les filtres

How can i reset axes and edittext?

1 vue (au cours des 30 derniers jours)
Carole
Carole le 7 Nov 2012
I have a GUI that with 2 axes and 2 edittext. I would like to clear those with a button. how can i do this? thanks

Réponse acceptée

Grzegorz Knor
Grzegorz Knor le 7 Nov 2012
So add a button and in its callback fucntion write code which clear axis and edittext field.
i.e.
cla(handles.axis1)
set(handles.Edit1,'String','')
Of course handles.axis1 and handles.Edit1 you have to change to your own handles.
  1 commentaire
Carole
Carole le 7 Nov 2012
thank you

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Graphics Object Programming dans Help Center et File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by