www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgtradeoffnode/setZoomConstraints.m

    function obj = setZoomConstraints(obj, bConStatus)
%setZoomConstraints Enable/disable zooming to constraints on graphs
%
%  OBJ = setZoomConstraints(OBJ, ZOOMCONSTRAINTS) where ZOOMCONSTRAINTS is
%  a boolean true/false flag, sets the zoom of constraints on graphs on
%  or off.

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

obj.GraphZoomConstraints = bConStatus;

% Update heap copy
xregpointer(obj);