how to create handles??

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 件のコメント

Jan
Jan 2016 年 12 月 26 日
編集済み: Jan 2016 年 12 月 26 日
Please post your code and the complete error message. We have to guess, what you have written, to suggest an improvement.

サインインしてコメントする。

回答 (2 件)

Jan
Jan 2016 年 12 月 26 日
編集済み: Jan 2016 年 12 月 26 日

0 投票

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

カテゴリ

ヘルプ センター および File ExchangeCreating, Deleting, and Querying Graphics Objects についてさらに検索

質問済み:

2016 年 12 月 24 日

回答済み:

2016 年 12 月 26 日

Community Treasure Hunt

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

Start Hunting!

Translated by