www.gusucode.com > mbctools 工具箱 matlab 源码程序 > mbctools/@xregtools/@MBrowser/Validate.m
function Validate(h, p) % VALIDATE Execute validation on a node % % h.Validate([p]) % % p is an optional node pointer to operate on. The default % is the current node. % % Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc. % Created 8/12/2000 if h.GUIExists & ~h.GUILocked h.GUILocked=true; if nargin<2 p=h.CurrentNode; end supp=p.MBsupport(h.DefaultSupport); if supp.validate p.selectModel(h); end h.GUILocked=false; end