TXTMENU - Text-Based Menu for the Command Window
Like the built-in MENU function, but all in the command prompt so fingers never leave the keyboard.
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Cite As
Sky Sartorius (2026). TXTMENU - Text-Based Menu for the Command Window (https://ch.mathworks.com/matlabcentral/fileexchange/28285-txtmenu-text-based-menu-for-the-command-window), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: cprintf - display formatted colored text in Command Window
Inspired: Validated Input Function, MCD - My change directory
General Information
- Version 1.4.0 (5.79 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.4.0 | Added option to use cprintf to add color to the menu. |
||
| 1.3.0 | Total rework with lots more features, more documentation, more checks, etc. |
||
| 1.2.0 | You can now control the input prompt (default: "Select a menu number: " by using a 2 cell array for the first input. |
||
| 1.1.0 | Use of \n, \t, etc. now allow in input strings
|
||
| 1.0.0 |