Erasing data in GUI

1 次查看(过去 30 天)
seemal
seemal 2012-2-23
Is there a single command that can clear all the edit text boxes in a GUI?

回答(1 个)

Jan
Jan 2012-2-23
With GUI_handle is the handle of the GUI figure:
EditH = findobj(GUI_handle, 'flat', 'Style', 'edit');
set(EditH, 'String', '');

类别

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