www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgoptimnode/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.cgcontainer = mapptr(obj.cgcontainer, RefMap); obj.OutputData = mapptr(obj.OutputData, RefMap);