You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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.
Cite As
Elmar Tarajan (2026). passcode (https://nl.mathworks.com/matlabcentral/fileexchange/6590-passcode), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: GetAuthentication, passwordUI
General Information
- Version 1.0.0.0 (1.27 KB)
-
No License
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 | - small bug fixed |