Erasing data in GUI

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', '');

类别

帮助中心File Exchange 中查找有关 App Building 的更多信息

标签

提问:

2012-2-23

Community Treasure Hunt

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

Start Hunting!

Translated by