I get an error undefined function gui_main. I am new to matlab. Can someone pls explain how do i use this file.
I have made a myscript.m file that i want now should prompt a user for a password and it should be displayed as encrypted password. At present I tried creating file witht the same code as logindlg to see how it works and if I can call functiosn from thsi file in myscript.m
A great piece of code. Just a couple of small additions:
pressing the 'delete' key counts as a letter, rather than a eraser. I put the following string in there:
password = password(1:end-1);
It's basically copying the backspace code, but it kind of makes it look a bit prettier, though don't think it's a full functionality.
Also, clicking the 'cancel' button basically just proceeds with the function. I used close(fig) rather than uiresume(fig) to close the dlg and disable access to the GUI.