how to clear the edit text automatically?

4 views (last 30 days)
how can i clear the edit text automatically when i push button that i already set to clear the edit text.meaning that, when i push the button, edit text will be clear with word or value in the edit text.

Accepted Answer

TAB
TAB on 31 Jan 2012
In your button callback function
set(handles.edit1,'String','');
where edit1 is your edit text

More Answers (1)

Christopher A. De Oliveira
thanks

Categories

Find more on Environment and Settings in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!