Username and password that we could mask with asterisk in MATLAB R2020b
3 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
Walter Roberson
2023 年 1 月 3 日
It is rude to delete all of your comments in a thread; doing that removes all of the context for what the volunteers contributed.
回答 (1 件)
Walter Roberson
2022 年 12 月 25 日
Look in the File Exchange
6 件のコメント
Walter Roberson
2022 年 12 月 26 日
We would need to see the code that you use to call Password2 (or passwordEntryDialog )
Walter Roberson
2022 年 12 月 26 日
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.]
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
