📄 showmenubotton.m
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -