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

    function obj = showExpression(obj, pExpr)
%SHOWEXPRESSION Removes expression from list of ones that are not plotted
%
%  OBJ = SHOWEXPRESSION(OBJ, PEXPR) removes PEXPR from the list of
%  expressions that will not be plotted.  PEXPR is a pointer (or pointer
%  vector) to either an input or output expression.

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


obj.GraphHideExpressions = setdiff(obj.GraphHideExpressions, pExpr);

% Update the heap copy
xregpointer(obj);