dialog box provide the facility of hidden password.
type the function name, which you want to protect, at callback of login button.
Sandeep Solanki (2020). Login (https://www.mathworks.com/matlabcentral/fileexchange/37292-login), MATLAB Central File Exchange. Retrieved .
where's source code?
What are the differences between this an the other dozens of password dialogs in the FEX?
How could this function be used to protect something? Even if this is P-coded, it is trivial to overload STRCMP, such that the TRUE is replied in any case or the secrets are revealed.
As long, as the login and password is stored in clear text and hardcoded, the protection level is zero.
Please explain the purpose of this function. In which situation could it be useful?
New interactive GUI.