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

    function obj = mapptr(obj, RefMap)
%MAPPTR Re-map object pointer locations
%
%   OBJ = MAPPTR(OBJ, REFMAP) resets the addresses of the pointers held by
%   the object.  This method is mainly used during loading of the object.

%   Copyright 2006 The MathWorks, Inc.

% Map the pointers held by the object
obj.pDataset = mapptr(obj.pDataset, RefMap);