how to clear the edit text automatically?

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

采纳的回答

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

更多回答(1 个)

Christopher A. De Oliveira
thanks

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by