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

9 vues (au cours des 30 derniers jours)
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.

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 14 Avr 2023
Modifié(e) : MathWorks Support Team le 26 Avr 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.

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by