Get from Ico-github-logo

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from

  • cname2rgb(name)
    CNAME2RGB Maps a short or long color name to an RGB triplet
  • passdlg(uitype, varargin)
    PASSDLG Create and open password dialog box
  • passfield
    PASSFIELD Create a password field
  • View all files

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

3.0 | 1 rating Rate this file 8 Downloads (last 30 days) File Size: 348 KB File ID: #47210 Version: 1.5
image thumbnail



Oleg Komarov (view profile)


11 Jul 2014 (Updated )

Password dialog and masked edit box uicontrol for passwords

| Watch this File

File Information

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

Required Products MATLAB
MATLAB release MATLAB 8.3 (R2014a)
Other requirements java enabled
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
10 Jan 2016 Oleg Komarov

Oleg Komarov (view profile)

@ahswin any suggestions on what could be improved?

Comment only
10 Jan 2016 ashwin kapade  
17 Aug 2015 1.5

Changed screenshot

18 Aug 2015 1.1

Added image

18 Aug 2015 1.2

Fix link to github

18 Aug 2015 1.3


18 Aug 2015 1.4

Edietd description

Contact us