menu_item.m

来自「五点差分型多重网格方法:各种插值算子的比较)」· M 代码 · 共 25 行

M
25
字号
%MENU_ITEM Generate a menu item.
%
%       F_M = MENU_ITEM(PARENT,LABEL,SEPARATOR,ENABLE,BGCOLOR,CALLBACK) creates
%       a menu item with the given parameters and returns its handle.

% James Bordner and Faisal Saied
% Department of Computer Science
% University of Illinois at Urbana-Champaign
% 10 April 1995

% Modified for Matlab Version 6 Compatability
% Ryan McKenzie
% University of Kentucky Center for Computational Sciences
% April 2004
%
% Removed depricated menu item option "BackgroundColor"

function f_m=menu_item(parent,label,separator,enable,bgcolor,callback)

f_m = uimenu(parent,...
     'Label',label,...
     'Separator', separator,...
     'Enable',enable,...
     'Callback', callback);

⌨️ 快捷键说明

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