How do I disable a pushbutton while GUI is busy?

1 回表示 (過去 30 日間)
Flávio
Flávio 2013 年 3 月 6 日
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!

回答 (1 件)

Walter Roberson
Walter Roberson 2013 年 3 月 6 日
set(HandleOfPushbutton, 'Enable', 'off')

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by