www.gusucode.com > mbctools 工具箱 matlab 源码程序 > mbctools/@xregtools/@MBrowser/Print.m

    function Print(h)
% PRINT  Print current node
%
%  Print(h)
%

%  Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc.

if h.GUIExists & ~h.GUILocked
   h.GUILocked=true;
   p=h.CurrentNode;
   % Check p supports printing
   supp=p.MBsupport(h.DefaultSupport);
   if supp.print
      p.print(h); 
   end
   h.GUILocked=false;
end