www.gusucode.com > mbcdata 工具箱 matlab 源码程序 > mbcdata/@cgpointconstraint/getptrs.m
function p = getptrs(obj) %GETPTRS Return all pointers held by the object % % P = GETPTRS(OBJ) returns a (1-by-N) vector containing all of the % pointers that the object is holding. % Copyright 2005 The MathWorks, Inc. and Ford Global Technologies, Inc. if isvalid(obj.ConExpression) p = [obj.ConExpression, getptrs(obj.cgoptimconstraint)]; else p = getptrs(obj.cgoptimconstraint); end