Check if an element is enabled or not in GUI

1 回表示 (過去 30 日間)
Daniele Morello
Daniele Morello 2015 年 9 月 22 日
コメント済み: Daniele Morello 2015 年 9 月 22 日
hi everyone, i would to know if is possible to check if an element is enabled or not in GUI. i need something like:
if "element is enabled"
.....
.....
end

採用された回答

Image Analyst
Image Analyst 2015 年 9 月 22 日
enableString = get(handles.button1, 'Enable');
isEnabled = strcmp(lower(enableString), 'on');

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by