Text input with default
Version 1.0.0.0 (3.21 KB) by
Karl
Like Matlab's "input" function, but with a default that you can select by simply hitting Enter.
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://ch.mathworks.com/matlabcentral/fileexchange/24520-text-input-with-default), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2007b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Desktop in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
