Contents Previous Next Subchapters

Entering Passwords In The Input Dialog
Syntax input(prompt, "password")
See Also input(prompt)

Displays a dialog in which data can be entered from the keyboard, where characters entered into the dialog are not echoed. The return value is the text input in the dialog as a character row vector. The character row vector prompt specifies the caption for the dialog.

If you enter
     password = input("Enter Password:", "password")
and in the displayed input line enter
O-Matrix will display the following dialog box: