MEAM.Design - Matlab - Input/Output


foo = input('your prompt here: ','s') - displays "your prompt here: " to the command window, and waits for user input. Once the user hits the enter key, whatever they type will be placed into a string called foo.