www.gusucode.com > mbc 工具箱 matlab 源码程序 > mbc/@mbcreference/info.m

    function obj = info(r)
%INFO Return the dynamic copy of the object
%
%  INFO(R) returns the data that is held in the pointer address of this
%  reference.  If the object has not yet been initialised, this will create
%  the reference pointer.

%  Copyright 2004-2005 The MathWorks, Inc. and Ford Global Technologies, Inc.


if isnull(r.Pointer)
	p = xregpointer(r);
	obj = info(p);
else
    obj = info(r.Pointer);
end