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

    function obj = setGraphConstraints(obj, bConStatus)
%SETGRAPHCONSTRAINTS Enable/disable display of constraints on graphs
%
%  OBJ = SETGRAPHCONSTRAINTS(OBJ, DISPCONSTRAINTS) where DISPCONSTRAINTS is
%  a boolean true/false flag, sets the display of constraints on graphs on
%  or off.

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


obj.GraphDisplayConstraints = bConStatus;

% Update heap copy
xregpointer(obj);