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

    function r = mapptr(r,RefMap)
%MAPPTR Map pointers method
%
%  R = MAPPTR(R,REFMAP) is a non-recursive call to change any instances of
%  pointers in the object according to REFMAP.

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


r.Pointer = mapptr(r.Pointer, RefMap);