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

    function r = setaddress(r, p)
%SETADDRESS Set the pointer address of the reference
%
%  R = SETADDRESS(R, P) sets the pointer address of the reference R to be
%  P.  The existing reference in R is not released.

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


r.Pointer = p;   
passign(p, r);