MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE User's Guide Page 660

  • Download
  • Add to my manuals
  • Print
  • Page
    / 759
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 659
14 Manage Ca llback Executio n
This code creates the two plot buttons and specifies the callbacks that
service them.
hsurf_queue = uicontrol(h_panel2,' Style','pushbutton',...
'Position',[30,200,110,30],...
'String','Surf Plot (queue)',...
'TooltipString','BusyAction = queu e',...
'BusyAction','queue',...
'Callback',@surf_queue);
hmesh_cancel = uicontrol(h_panel2,'Style','pushbutton' ,...
'Position',[30,130,110,30],...
'String','Mesh Plot (cancel)',...
'BusyAction','cancel',...
'TooltipString','BusyAction = canc el',...
'Callback',@mesh_cancel);
Using the Example GUIs. ClickheretoruntheexampleGUIs.
14-8
Page view 659
1 2 ... 655 656 657 658 659 660 661 662 663 664 665 ... 758 759

Comments to this Manuals

No comments