www.gusucode.com > mbcdata 工具箱 matlab 源码程序 > mbcdata/@cgoptimitem/getDependentPtrs.m

    function pDep = getDependentPtrs(obj)
%GETDEPENDENTPTRS List of dependent pointers 
%
%  PDEP = GETDEPENDENTPTRS(OBJ) returns a list of dependent pointers for
%  this item.  A dependent pointer is a pointer to an object connected to
%  the current which belongs to another CAGE object.
%
%  The default action for cgoptimitems is to return the expressions that
%  are returned by a call to GETSTATICEXPRESSIONS.

%  Copyright 2005 The MathWorks, Inc. 


pDep = getStaticExpressions(obj);
pDep = pDep(isvalid(pDep));