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
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 Exchange 中查找有关 Creating, 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