www.gusucode.com > mbctools 工具箱 matlab 源码程序 > mbctools/@xregtools/@MBrowser/Reset.m
function Reset(h) %RESET Reset the data fields of MBrowser interface % % h.Reset; % % Copyright 2000-2013 The MathWorks, Inc. and Ford Global Technologies, Inc. % Created 9/4/2001 h.Listeners=[]; h.Hand=[]; h.ViewCardObj=[]; if isgraphics(h.ViewData) delete(h.ViewData); end h.ViewData=[]; h.ViewGUIDs={}; h.ViewMenus={}; h.ViewCurrent=[]; h.SubFigures=[]; h.GUIExists=false; h.GUILocked=false; h.GUILockTime=0; h.Figure=-1; h.RootNode=[]; h.CurrentNode=[]; h.ContextMenus=struct('NewMenus',[],'DeleteMenus',[]); h.DefaultTreeContext=[];