www.gusucode.com > mbcdata 工具箱 matlab 源码程序 > mbcdata/@cgoptimitem/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.


p = mbcpointer(1,0);