Be the first to rate this file! 13 downloads (last 30 days) File Size: 3.21 KB File ID: #24520

Text input with default

by Karl

 

22 Jun 2009

Code covered by BSD License  

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

Download Now | 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)
Zip File Content  
Other Files dinput.m,
license.txt
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
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
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com