Use the passfield "uicontrol" on its own or the passdlg() wrapper to take advantage of several pre-built GUIs.
Passdlg() produces either a plain vanilla GUI with just the password field or a more elaborate GUI that combines a Username field, a Password confirmation and a Show/hide password checkbox.
The passfield class is a uicontrol-style interface to the Java JPasswordField.
passfield(Name, Value) Supports Name/Value pair syntax as in uicontrol().
Valid names of properties are:
* 'EchoChar' - character masking the password
* 'Password' - password in plain text
* Some uicontrol properties