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
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
2014-7-18
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 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!