Check if an element is enabled or not in GUI
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Daniele Morello
am 22 Sep. 2015
Kommentiert: Daniele Morello
am 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 Kommentare
Akzeptierte Antwort
Image Analyst
am 22 Sep. 2015
enableString = get(handles.button1, 'Enable');
isEnabled = strcmp(lower(enableString), 'on');
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Variables 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!