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일

0 개 추천

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