How do I disable a pushbutton while GUI is busy?
Mostrar comentarios más antiguos
So, I have created a GUI with a pushbutton.
Since the code takes a little bit to finish, I want to disable the pushbutton while GUI is busy running that piece of code, and when it finishes I want to enable it again.
Is it possible?
Sorry for my bad English!
Thanks!
Respuestas (1)
Walter Roberson
el 6 de Mzo. de 2013
set(HandleOfPushbutton, 'Enable', 'off')
Categorías
Más información sobre Interactive Control and Callbacks en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!