www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgtradeoffnode/removeDisplayExpression.m
function obj = removeDisplayExpression(obj, pDisplay) %REMOVEDISPLAYEXPRESSION Remove display expressions from the tradeoff % % OBJ = REMOVEDISPLAYEXPRESSION(OBJ, pDisplay) removes the expression % pDisplay from the list of those being displayed. If pDisplay is a % vector they will all be removed. % Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc. obj.GraphExpressions = setdiff(obj.GraphExpressions, pDisplay); % Update the heap copy xregpointer(obj);