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?

Respuestas (1)

Adam
Adam el 28 de Jul. de 2017
Editada: Adam el 28 de Jul. de 2017

0 votos

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

Categorías

Más información sobre Software Development Tools en Centro de ayuda y File Exchange.

Productos

Etiquetas

Preguntada:

el 28 de Jul. de 2017

Editada:

el 28 de Jul. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by