From: Bill on
Currently, I'm trying to find a way to enter a password into Matlab using either Inputdlg or a MATLAB GUI. We have subjects in the experiment who are trying to speed through parts of it, and we want to control how long it takes them to finish, so I figured passwords would be the best way for them to proceed. I would like the ability to have the password "asterisked" out when it is typed it, as my goal is to enter the password myself, not give it to them. I have several problems facing me, and not clear on a solution to solve a number of them:
1. Immediate text modification of a dialog box.
2. How to deal with manually adjusting the cursor using the mouse or arrow keys.
3. I am aware that inputdlg may not have the ability to do what I want, and that the solution to which is to generate a figure in the script. I'm not familiar with generating figures online, however, and from what I've looked at so far, I have not had much success in transferring information across one function to another using this method, so if your solution is to use this method, you may need to help me using kid-gloves. Sorry.

Thank everyone in advance for any assitance they provide.
From: ImageAnalyst on
See #32 in Matt Fig's GUI Examples File Exchange submission:

http://www.mathworks.com/matlabcentral/fileexchange/24861-35-complete-gui-examples