Text input with default

Like Matlab's "input" function, but with a default that you can select by simply hitting Enter.

You are now following this Submission

Allows you to provide a default answer to a question, so the user can select it by simply hitting Enter. Supports strings, numbers, and cell arrays as defaults.

Cite As

Karl (2026). Text input with default (https://in.mathworks.com/matlabcentral/fileexchange/24520-text-input-with-default), 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.0.0.0