passcode

PASSCODE creates a modal dialog box that returns user password input like in usual Windows dialogs.

您现在正在关注此提交

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.

引用格式

Elmar Tarajan (2026). passcode (https://ww2.mathworks.cn/matlabcentral/fileexchange/6590-passcode), MATLAB Central File Exchange. 检索时间: .

致谢

启发作品: GetAuthentication, passwordUI

类别

Help CenterMATLAB Answers 中查找有关 App Building 的更多信息

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.0.0.0

- small bug fixed