www.gusucode.com > mbcdata 工具箱 matlab 源码程序 > mbcdata/@cgtabgradconstraint/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-2009 The MathWorks, Inc. obj.pAxisVariables = mapptr(obj.pAxisVariables, RefMap); obj.pItem = mapptr(obj.pItem, RefMap); obj.cgoptimconstraint = mapptr(obj.cgoptimconstraint, RefMap);