home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 10 / 10.iso / l / l460 / 2.ddi / LANG.DI$ / INPUT.M < prev    next >
Encoding:
Text File  |  1993-03-07  |  608 b   |  15 lines

  1. %INPUT    Prompt for user input. 
  2. %     INPUT('How many apples') gives the user the prompt in the
  3. %     text string and then waits for input from the keyboard.
  4. %    The input can be any MATLAB expression, which is evaluated,
  5. %    using the variables in the current workspace, and the result
  6. %    returned as the value of the function.
  7. %
  8. %     INPUT('What is your name','s') gives the prompt in the text
  9. %     string and waits for character string input.  The typed input
  10. %    is not evaluated; the characters are simply returned as a 
  11. %    MATLAB string.
  12.  
  13. %    Copyright (c) 1984-93 by The MathWorks, Inc.
  14. %    Built-in function.
  15.