Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

uicontrol and GUIDE, which one?

Status
Not open for further replies.

maopost

Specifier/Regulator
Joined
Mar 17, 2006
Messages
1
Location
US
I like GUI of matlab.
But I can not understand why somebody write the program like this:

uicontrol('style','pushbutton',...
'Position', '[12, 34 ,45, 78],...


why do not they use GUIDE? Since it is easy to draw the picture of uicontrol and do not need to define some variables, like position.
you know I always do not know how to set the 'position'.

which is better? GUIDE or "write uicontrol"?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top