This function displays a dialog box for a user to type in a password, obfuscated by an asterisk (*). In 'create' mode, it makes the user retype the password. You can enforce the minimum number of characters and the type of password (Alphabets Only, Numbers Only, Alphabets and Numbers, or Alphabets/Numbers/Special Characters).
pw = passwordUI()
pw = passwordUI('Create', 'AlphaNum')
pw = passwordUI('Create', 'AlphaOnly', 8)
Citation pour cette source
Jiro Doke (2026). passwordUI (https://fr.mathworks.com/matlabcentral/fileexchange/29616-passwordui), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Créé avec
R2010b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxCatégories
- MATLAB > App Building >
- MATLAB > Programming >
En savoir plus sur App Building dans Help Center et MATLAB Answers
Tags
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.0.0.1 | Updated license |
||
| 1.0.0.0 |
