www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgtools/@exprview/pObjectBeingDestroyed.m
function pObjectBeingDestroyed(obj, event) %POBJECTBEINGDESTROYED called when the view is being destroyed % % POBJECTBEINGDESTROYED(OBJ, EVENT) % % Copyright 2000-2010 The MathWorks, Inc. and Ford Global Technologies, Inc. if ~mbcgui.util.isBeingDestroyed(obj.Parent) delete(obj.hAxes); end