Check if an element is enabled or not in GUI
3 views (last 30 days)
Show older comments
Daniele Morello
on 22 Sep 2015
Commented: Daniele Morello
on 22 Sep 2015
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 Comments
Accepted Answer
Image Analyst
on 22 Sep 2015
enableString = get(handles.button1, 'Enable');
isEnabled = strcmp(lower(enableString), 'on');
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!