showmenubotton.m

来自「matlab处理图像的一些基本方法。其中有一部分mex程序需要安装编译」· M 代码 · 共 25 行

M
25
字号
function fig=showmenubotton%SHOWMENUBUTTON Show a button to reactivate the menubar%% Copyright (c) 1995 by Claudio Rivetti and Mark Young% claudio@alice.uoregon.edu,    mark@alice.uoregon.edu%global alertfigif isempty(findobj('name', 'Button'))  alertfig=figure('position', [1113 886 120 50],'Interruptible','yes', 'Numbertitle', 'off', 'resize', 'off', 'name', 'Button');  b=uicontrol('style', 'push',...	    'string', 'Show Menubar',...	    'BackgroundColor', 'yellow',...	    'position', [0 0 120 50],...	    'callback', 'global alertfig;amenu;close(alertfig);');endif nargout ~= 0 fig=alertfig;endreturn

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?