Filter löschen
Filter löschen

How can i reset axes and edittext?

1 Ansicht (letzte 30 Tage)
Carole
Carole am 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

Akzeptierte Antwort

Grzegorz Knor
Grzegorz Knor am 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.

Weitere Antworten (0)

Kategorien

Mehr zu Graphics Object Programming finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by