(I'm not sure how faithful we want to be wrt to those details - so feel free to close if you think this is overkill)
DemoPassword: on entering the value "H" into the field "Password", the KeyPresscallback is called with its 3d element being the character vector H.
The doc says: "If the keystroke resolves to a character, the Input Code is a character scalar."
(I'm not sure how faithful we want to be wrt to those details - so feel free to close if you think this is overkill)
DemoPassword: on entering the value "H" into the field "Password", the
KeyPress
callback is called with its 3d element being the character vectorH
. The doc says: "If the keystroke resolves to a character, the Input Code is a character scalar."