passcode

PASSCODE creates a modal dialog box that returns user password input like in usual Windows dialogs.
6K Downloads
Aktualisiert 3. Mär 2008

Keine Lizenz

answer = PASSCODE
creates a modal dialog box that returns user password input. Given characters are substituted with '*'-Signs like in usual Windows dialogs.

answer = PASSCODE
without input parameter allows to type any ASCII-Character
answer = PASSCODE('digit')
allows only digits as input characters [0-9]
answer = PASSCODE('letter')
allows only letters as input characters [a-z_A-Z]
answer = PASSCODE(<string>)
allows to use characters from the specified string only

See also PCODE.

Zitieren als

Elmar Tarajan (2024). passcode (https://www.mathworks.com/matlabcentral/fileexchange/6590-passcode), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2007b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Passwords finden Sie in Help Center und MATLAB Answers
Quellenangaben

Inspiriert: GetAuthentication, passwordUI

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0

- small bug fixed