Erasing data in GUI

Is there a single command that can clear all the edit text boxes in a GUI?

Antworten (1)

Jan
Jan am 23 Feb. 2012

0 Stimmen

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

Kategorien

Mehr zu App Building finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 23 Feb. 2012

Community Treasure Hunt

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

Start Hunting!

Translated by