www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgtools/@cgbrowser/docreatetoolsmenu.m
function docreatetoolsmenu(h, addH) %DOCREATETOOLSMENU Create the tools add-on menu items % % DOCREATETOOLSMENU(CGB, menuH) adds the tools menu items from the % currently installed add-ons into the Tools menu. % Copyright 2000-2014 The MathWorks, Inc. and Ford Global Technologies, Inc. % Contact extension manager ext = mbcextensions.Extensions.Cage; Btools = ext.BrowserTools; if ~isempty(Btools) % Ensure first tool has a separator Btools(1).Separator = 'on'; mbccreateaddonmenus(Btools, addH, h); end