Version (1.99 KB) by Stefan
Prompts a username and password from a user and hides the password input by *******
Updated 20 Feb 2009

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

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

Cite As

Stefan (2024). GetAuthentication (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Migrate GUIDE Apps in Help Center and MATLAB Answers

Inspired by: passcode

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes