How can i reset axes and edittext?

조회 수: 1 (최근 30일)
Carole
Carole 2012년 11월 7일
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에서 Strategy & Logic에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by