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?

Réponses (1)

Adam
Adam le 28 Juil 2017
Modifié(e) : Adam le 28 Juil 2017

0 votes

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( ... );

Catégories

En savoir plus sur Software Development Tools dans Centre d'aide et File Exchange

Produits

Question posée :

le 28 Juil 2017

Modifié(e) :

le 28 Juil 2017

Community Treasure Hunt

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

Start Hunting!

Translated by