Code covered by the BSD License  

Highlights from
Text input with default

5.0

5.0 | 1 rating Rate this file 0 Downloads (last 30 days) File Size: 3.21 KB File ID: #24520

Text input with default

by Karl

 

22 Jun 2009

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

| Watch this File

File Information
Description

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.

MATLAB release MATLAB 7.5 (R2007b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
15 May 2010 ALEKSANDER

Worked well, easy to use:)

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
input Karl 23 Jun 2009 10:29:24
default Karl 23 Jun 2009 10:29:25
command line Karl 23 Jun 2009 10:29:25

Contact us at files@mathworks.com