MATLAB Guide - Simulating a 4 digit keypad?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
thebasher
el 26 de Mzo. de 2014
Comentada: thebasher
el 26 de Mzo. de 2014
Hello,
I'm looking to simulate a 4 digit keypad. So when a password of the correct 4 numbers are entered, something is displayed.
I've made a GUI using GUIDE that contains 4 buttons labelled 1 through 4. Now, I want to prompt the user to enter a password. Say the password is 1234, how can I implement this?
I assume it'll involve nested loops, to check if each button is pressed in the correct sequence, however, I am unsure of how to do this.
Any ideas or suggestions will be greatly appreciated.
Thanks for your time.
0 comentarios
Respuesta aceptada
Chandrasekhar
el 26 de Mzo. de 2014
find the attached gui. you can use this for your requirement. hope this works
Más respuestas (0)
Ver también
Categorías
Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!