www.gusucode.com > mbcdata 工具箱 matlab 源码程序 > mbcdata/@cgpointobjective/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 2005 The MathWorks, Inc. and Ford Global Technologies, Inc. obj.Expression = mapptr(obj.Expression, RefMap); obj.cgoptimobjective = mapptr(obj.cgoptimobjective, RefMap);