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 ExchangeApp 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