User`s guide

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