How do I disable a pushbutton while GUI is busy?

2 Ansichten (letzte 30 Tage)
Flávio
Flávio am 6 Mär. 2013
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!

Antworten (1)

Walter Roberson
Walter Roberson am 6 Mär. 2013
set(HandleOfPushbutton, 'Enable', 'off')

Kategorien

Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by