Selector( str, choices, nochoice, timeout )
Version 1.2.0.0 (6.15 KB) by
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.
Cite As
Jan de Wilde (2025). Selector( str, choices, nochoice, timeout ) (https://nl.mathworks.com/matlabcentral/fileexchange/47820-selector-str-choices-nochoice-timeout), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2012b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Characters and Strings in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
