www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgddnode/freeptr.m
function freeptr(nd) %FREEPTR React to variable dictionary pointer release % % FREEPTR(DD) % Copyright 2000-2007 The MathWorks, Inc. and Ford Global Technologies, Inc. refs = nd.ptrlist; if ~isempty(refs) try p = Parent(nd); if isvalid(p) && ~p.beingdeleted ptnow = p.saveptrs; freeptr(refs(~ismember(refs, ptnow))); end end end