HOW TO CREATE TEXTBOX AND PUSH BUTTON USING UICONTROL

2 ビュー (過去 30 日間)
VEERENDRA NAYAK
VEERENDRA NAYAK 2016 年 12 月 24 日
コメント済み: Image Analyst 2016 年 12 月 25 日
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???

採用された回答

Image Analyst
Image Analyst 2016 年 12 月 24 日
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 件のコメント
VEERENDRA NAYAK
VEERENDRA NAYAK 2016 年 12 月 25 日
it shows undefined handles error when i created uicontrol call back
Image Analyst
Image Analyst 2016 年 12 月 25 日
Then read this link and get back to us with what you learned from it.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by