www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgtradeoffgui/@mmeditor/setBreakpoints.m

    function setBreakpoints(obj, BPcell)
%SETBREAKPOINTS Set new breakpoint vectors
%
%  SETBREAKPOINTS(OBJ, BPCELL) sets the cell array BPCELL that contains a
%  vector of breakpoints for each switch factor as the current breakpoints.
%  The breakpoints will be set to be manually edited and the
%  BreakpointsChanged event will be fired.

%  Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc.


obj.AutoBreakpoints = false;
obj.Breakpoints = BPcell;
obj.send('BreakpointsChanged', handle.EventData(obj, 'BreakpointsChanged'));