mymenu.m
来自「hi i have a huge collection are you int」· M 代码 · 共 18 行
M
18 行
function k = mymenu(s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13,s14)%function k = mymenu(s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13,s14)%%Produces a menu in the input window rather than a separate window of its own.%% A. Knight, Sept. 1992disp(' ')disp(['----- ',s0,' -----'])disp(' ')for i=1:(nargin-1) disp([' ',int2str(i),') ',eval(['s',int2str(i)])])enddisp(' ')k = input('Select a menu number: ');return
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?