Erasing data in GUI

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

Respuestas (1)

Jan
Jan el 23 de Feb. de 2012

0 votos

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

Categorías

Más información sobre App Building en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 23 de Feb. de 2012

Community Treasure Hunt

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

Start Hunting!

Translated by