textbox in an empty figure

I can create a GUI textbox in an empty figure and I am trying to control the attributes of that textbox using a handle in a matlab script but I can't seem to locate the handle to that textbox object. Am I looking for a handle that doesn't exist?

回答 (1 件)

Adam
Adam 2017 年 7 月 28 日
編集済み: Adam 2017 年 7 月 28 日

0 投票

How do we know? You haven't shown us any code!
Just store the handle when you create it, then you don't need to look for it:
hTextBox = uicontrol( ... );

カテゴリ

ヘルプ センター および File ExchangeCreating, Deleting, and Querying Graphics Objects についてさらに検索

製品

質問済み:

2017 年 7 月 28 日

編集済み:

2017 年 7 月 28 日

Community Treasure Hunt

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

Start Hunting!

Translated by