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)
인용 양식
Jiro Doke (2024). passwordUI (https://www.mathworks.com/matlabcentral/fileexchange/29616-passwordui), MATLAB Central File Exchange. 검색 날짜: .
MATLAB 릴리스 호환 정보
개발 환경:
R2010b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux카테고리
- MATLAB > Programming >
- MATLAB > App Building > Migrate GUIDE Apps > Dialog Boxes > Passwords >
Help Center 및 MATLAB Answers에서 Programming에 대해 자세히 알아보기
태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!