www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgnode/freeptr.m
function freeptr(ND) %FREEPTR React to cgnode pointer release % % FREEPTR(NODE) is called when the pointer to Node is released from the % heap. % Copyright 2009 The MathWorks, Inc. and Ford Global Technologies, Inc. % $Revision $ $Date $ CGP = project(ND); if ~beingdeleted(CGP) && ismajoritem(ND) A = getConnections(info(CGP)); deletenode(A,ND); end