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

10 Ansichten (letzte 30 Tage)
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.

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 14 Apr. 2023
Bearbeitet: MathWorks Support Team am 26 Apr. 2023
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.

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by