📄 menuitem.m
字号:
%
% Syntax: h = menuitem(hParent,strCaption,strCallback)
%
% Inputs: hParent is a handle to the item to which the new menuitem
% is to be added. strCaption is a string containing the caption
% for the menuitem. strCallback is a string containing the
% commands that are to be executed when the menuitem is chosen.
%
% Result: h is a handle to a new uimenu object that has been added to the
% figure, menubar or menuitem hParent.
%
% Petur Snaeland, 25.04.1995.
%
function [hMenu] = menuitem(hParent,strCaption,strCallback);
hMenu = uimenu(hParent, ...
'Label',strCaption, ...
'Callback',strCallback);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -