Erasing data in GUI
显示 更早的评论
Is there a single command that can clear all the edit text boxes in a GUI?
回答(1 个)
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 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!