how to add edit text using a code or callback?

hi, my question is that if we want to add a pushbutton, we use uicontrol('style','pushbutton'), so i want to know if we want to add an edit text, what do we use, becasue I tired uicontrol('style','edit') nad it didn't work thsnks

3 件のコメント

Joseph Cheng
Joseph Cheng 2014 年 7 月 18 日
what is wrong or what are you looking for because
uicontrol('Style','Edit','String','matlab')
should give a edit box for you to type in.
Jihad Chamseddine
Jihad Chamseddine 2014 年 7 月 18 日
thank you, now its working, I was writing it in a wrong way
Jan
Jan 2014 年 7 月 18 日
"Didn't work" does not allow to understand, what's going wrong. The less we have to guess, the more likely is a useful answer.

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

回答 (0 件)

カテゴリ

タグ

質問済み:

2014 年 7 月 18 日

コメント済み:

Jan
2014 年 7 月 18 日

Community Treasure Hunt

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

Start Hunting!

Translated by