www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgtools/@cgbrowser/createToolbar.m
function hTB = createToolbar(h) %CREATETOOLBAR Request a new toolbar from the browser % % H_TB = CREATETOOLBAR(CGB, GUID) creates a new toolbar and returns its % handle. The new toolbar is parented to the correct location for toolbar % items but isn't yet explicitly registered as being the toolbar for a % particular view. % Copyright 2010 The MathWorks, Inc. hTB = xregGui.uitoolbar(... 'Parent', h.Hand.Toolbar.Panel, ... 'Visible', 'off', ... 'ResourceLocation', cgrespath);