how to create handles??

1 visualizzazione (ultimi 30 giorni)
ARYA NAYAK
ARYA NAYAK il 24 Dic 2016
Risposto: Walter Roberson il 26 Dic 2016
i created one textbox and one push button, made it validation. but i got undefined handles error. i don't know how to create handles. basically gui will automatically creates handles using gui. but i created this 2 using uicontrol. i wrote call back for push button, i got undefined handles error.
please help me to solve the handles error.
  2 Commenti
Jan
Jan il 26 Dic 2016
Modificato: Jan il 26 Dic 2016
Please post your code and the complete error message. We have to guess, what you have written, to suggest an improvement.

Accedi per commentare.

Risposte (2)

Jan
Jan il 26 Dic 2016
Modificato: Jan il 26 Dic 2016
You can find excellent examples here: FEX: 41 GUI examples .
Perhaps you need this:
handles.Button = uicontrol('Style', 'PushButton', ...
'Callback', @myPushbuttonCB)

Walter Roberson
Walter Roberson il 26 Dic 2016

Categorie

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

Community Treasure Hunt

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

Start Hunting!

Translated by