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
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
Walter Roberson 2022-12-25
Look in the File Exchange
  6 个评论
Walter Roberson
Walter Roberson 2022-12-26
We would need to see the code that you use to call Password2 (or passwordEntryDialog )
Walter Roberson
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.]

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 App Building 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by