MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE User Manual Page 356

  • Download
  • Add to my manuals
  • Print
  • Page
    / 500
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 355
10 Lay Out a Programmatic UI
10-24
b1 = uicontrol(p,'Style','pushbutton','String','Button 1',...
'Units','normalized',...
'Position',[.1 .55 .8 .3]);
b2 = uicontrol(p,'Style','pushbutton','String','Button 2',...
'Units','normalized',...
'Position',[.1 .15 .8 .3]);
Button Groups
This code creates a button group:
f = figure;
/jointfilesconvert/264432/bg = uibuttongroup(f,'Title','My Button Group',...
'Position',[.1 .2 .8 .6]);
Page view 355
1 2 ... 351 352 353 354 355 356 357 358 359 360 361 ... 499 500

Comments to this Manuals

No comments