Check if an element is enabled or not in GUI
1 回表示 (過去 30 日間)
古いコメントを表示
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
0 件のコメント
採用された回答
Image Analyst
2015 年 9 月 22 日
enableString = get(handles.button1, 'Enable');
isEnabled = strcmp(lower(enableString), 'on');
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Get Started with MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!