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.

Download
Download

You are now following this Submission

Cite As

Sky Sartorius (2026). TXTMENU - Text-Based Menu for the Command Window (https://au.mathworks.com/matlabcentral/fileexchange/28285-txtmenu-text-based-menu-for-the-command-window), MATLAB Central File Exchange. Retrieved .

General Information

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.

Download
1.3.0

Total rework with lots more features, more documentation, more checks, etc.

Download
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.

Download
1.1.0

Use of \n, \t, etc. now allow in input strings
Default now at beginning of list instead of end
No header option

Download
1.0.0

Download