Is it possible to hide the characters I type in MATLAB so that they are not displayed on the screen?

조회 수: 9 (최근 30일)
I would like to have the ability to input characters into MATLAB without the characters being displayed on the screen. I can use this for entering passwords.

채택된 답변

MathWorks Support Team
MathWorks Support Team 2023년 4월 14일
편집: MathWorks Support Team 2023년 4월 26일
This enhancement has been incorporated in Release 14 Service Pack 3 (R14SP3). For previous product releases, read below for any possible workarounds:
There is no built-in function in MATLAB to hide characters that are typed in. However, there is a function "passcode.m" in MATLAB Central that can achieve this in an input dialog box. You can download this function from the following page:
Note that MathWorks does not guarantee or warrant the use or content of submissions in MATLAB Central. Any questions, issues, or complaints should be directed to the contributing author.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by