Erasing data in GUI

1 view (last 30 days)
seemal
seemal on 23 Feb 2012
Is there a single command that can clear all the edit text boxes in a GUI?

Answers (1)

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

Categories

Find more on Migrate GUIDE Apps 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!