www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgtradeoffgui/@mmeditor/setAutoBreakpoints.m
function setAutoBreakpoints(obj, BPsetting) %SETAUTOBREAKPOINTS Toggle automatic breakpoint setting % % SETAUTOBREAKPOINTS(OBJ, BPSETTING) toggles the automatic breakpoint % setting to the given state. The BreakpointsChanged event is then fired. % Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc. obj.AutoBreakpoints = BPsetting; obj.send('BreakpointsChanged', handle.EventData(obj, 'BreakpointsChanged'));