www.gusucode.com > mbc 工具箱 matlab 源码程序 > mbc/@mbcfoundation/@pointerinterface/pGetPointerInstance.m

    function pointer = pGetPointerInstance(obj)
%PGETPOINTERINSTANCE Get the private pointer from the object
%
%  XREGPOINTER = PGETPOINTERINSTANCE(OBJ)
%  

%  Copyright 2004-2005 The MathWorks, Inc.


pointer = null(xregpointer, size(obj));
for i = 1:numel(obj)
    pointer(i) = obj(i).Pointer;
end