Selector( str, choices, nochoice, timeout )
版本 1.2.0.0 (6.1 KB) 作者:
Jan de Wilde
Alternative for menu, with time out and 2D-button placing
% The function 'Selector' is an alternative for Matlab's function 'menu'.
% The advantages of Selector are:
% - 2D button placing.
% - HotKey support: the first character of a button is its HotKey. (case insensitive)
% hit ENTER to select the 'nochoice' string.
% - TimeOut: after the given timeout, the 'nochoice' is returned.
引用格式
Jan de Wilde (2024). Selector( str, choices, nochoice, timeout ) (https://www.mathworks.com/matlabcentral/fileexchange/47820-selector-str-choices-nochoice-timeout), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2012b
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Characters and Strings 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!