HOW TO CREATE TEXTBOX AND PUSH BUTTON USING UICONTROL

2 visualizzazioni (ultimi 30 giorni)
please tell me how to make this two. make one simple program with textbox validation.
call back for push button and creating push button and textbox all those code in a script.
how to create a handle for these two???

Risposta accettata

Image Analyst
Image Analyst il 24 Dic 2016
Why not simply use GUIDE? If you want to use uicontrol() and specify all the parameters manually you can do that but I find it more tedious. For example you have to know what all the properties are called and then figure out which ones need to be set and which ones are fine using the defaults. Anyway, see the help for uicontrol() otherwise simplify your life and use GUIDE.
Anyway, to answer your direct question "how to create a handle", The handle is the thing returned by uicontrol when you call it.
  2 Commenti
VEERENDRA NAYAK
VEERENDRA NAYAK il 25 Dic 2016
it shows undefined handles error when i created uicontrol call back
Image Analyst
Image Analyst il 25 Dic 2016
Then read this link and get back to us with what you learned from it.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Migrate GUIDE Apps in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by