Username and password that we could mask with asterisk in MATLAB R2020b
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello everyone, I need to have a MATLAB code that asks username and password to the user and that works in MATLAB R2020b. Thanks in advance
1 commentaire
Walter Roberson
le 3 Jan 2023
It is rude to delete all of your comments in a thread; doing that removes all of the context for what the volunteers contributed.
Réponses (1)
Walter Roberson
le 25 Déc 2022
Look in the File Exchange
6 commentaires
Walter Roberson
le 26 Déc 2022
We would need to see the code that you use to call Password2 (or passwordEntryDialog )
Walter Roberson
le 26 Déc 2022
You have not shown us your App Designer code in which you call Password2 (or passwordEntryDialog )
The code you have posted all has to do with traditional figures and traditional controls. You cannot (easily) "just modify the same script code" for App Designer. App Designer is a completely different development interface. You need to go into App Designer and build your infrastructure, and at some point in one of the callbacks you create, you need to call Password2 (or passwordEntryDialog) . [Unless, that is, you call the function during the initialization phase... in that case it would not be within a callback.]
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
