www.pudn.com > Kalman_matlab00000.rar > stop_callback.m, change:2003-11-01,size:264b


function stop_callback() 
 
BIII=findobj(gcf,'tag','stop'); 
switch get(BIII,'userdata') 
case 1,        
    set(BIII,'String','Continue?','userdata',0); 
    uiwait(gcf) 
     
case 0, 
    set(BIII,'String','Stop?','userdata',1); 
    uiresume(gcf) 
     
end