www.gusucode.com > mbcguitools 工具箱 matlab 源码程序 > mbcguitools/@xregGui/@viewcontainer/doTitle.m

    function doTitle(h)
%DOTITLE Set title from view description
%
%  h.doTitle

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


if ~isempty(h.Center)
   set(h.Panel,'BarTitle',gettitle(h.Center));
else
   set(h.Panel,'BarTitle','');
end