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?

Risposte (1)

Adam
Adam il 28 Lug 2017
Modificato: Adam il 28 Lug 2017
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( ... );

Categorie

Scopri di più su Creating, Deleting, and Querying Graphics Objects in Centro assistenza e File Exchange

Prodotti

Richiesto:

il 28 Lug 2017

Modificato:

il 28 Lug 2017

Community Treasure Hunt

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

Start Hunting!

Translated by