f_helpmenu.m
来自「digital signal processing常用工具箱」· M 代码 · 共 22 行
M
22 行
function f_helpmenu (tips,g_module)
%F_HELPMENU: Set up help menu item
%
% Usage: f_helpmenu (tips,about,g_module)
%
% Inputs:
% tips = string specifying name of file containing user tips
% g_module = string specifying name of GUI module
hm_3 = uimenu (gcf,'Label','Help');
cback = ['h_fig = gcf; set(h_fig,''Selected'',''off''); '...
'helpwin ' tips '; '...
'set(h_fig,''Selected'',''on'')'];
hm_31 = uimenu (hm_3,'Label','User tips','Callback',cback);
cback = ['h_fig = gcf; '...
'set(h_fig,''Selected'',''off''); '...
'helpwin ' g_module ...
' set(h_fig,''Selected'',''on''), '...
'refresh(h_fig)' ];
hm_32 = uimenu (hm_3,'Label',['About ' g_module],'Callback',cback,'Separator','on');
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?