13 Manage Callback Execution
Here is the command that creates the Mesh Plot (cancel) push button. Notice that the
BusyAction property is set to 'cancel'.hmesh_cancel = uicontrol(h_panel2,'Style','pushbutton',...
'Position',[30,130,110,30],...
'String','Mesh Plot (cancel)',...
'BusyAction','cancel',...
'TooltipString','BusyAction = cancel',...
'Callback',@mesh_cancel);See Also
drawnow | timer | uiwait | waitforRelated Examples
- “Automatically Refresh Plot in a GUIDE UI”
- “Use a MATLAB Timer Object”