Editor's Note: This was a File Exchange Pick of the Week
This is a login dialog which replaces all characters typed into the password area with asterisks. Both the login and password are returned by the function as strings.
Version information can be found in the m-file. Examples can be found in the m-file help.
Note: The password is only visually hidden. While the dialog is active it is stored in the Userdata of the password edit box.
Cite As
Jeremy Smith (2026). login (https://www.mathworks.com/matlabcentral/fileexchange/8499-login), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Acknowledgements
Inspired: TxtMsg Create, passwordEntryDialog, Biomet Database Tool
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
