How can i reset axes and edittext?

1 次查看(过去 30 天)
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

采纳的回答

Grzegorz Knor
Grzegorz Knor 2012-11-7
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Graphics Object Programming 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by