View License

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

» Watch video

Highlights from

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

5.0 | 2 ratings Rate this file 10 Downloads (last 30 days) File Size: 1.99 KB File ID: #23045 Version: 1.0
image thumbnail



Stefan (view profile)


Prompts a username and password from a user and hides the password input by *******

Editor's Notes:

This file was selected as MATLAB Central Pick of the Week

| Watch this File

File Information

GetAuthentication only uses a figure, uicontrol and keypress function to create a dialog for authentication (e.g. website).


Passcode inspired this file.

MATLAB release MATLAB 7.5 (R2007b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
05 Feb 2010 Ryan

Ryan (view profile)

Handy file. It would be nice to return the button press explicitly rather than just setting user==password==''
That's easy to add as a user though. Thanks!

25 Aug 2009 Ryan

Ryan (view profile)

Works as advertised. Thanks for providing it!

Contact us