Check if an element is enabled or not in GUI
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Daniele Morello
il 22 Set 2015
Commentato: Daniele Morello
il 22 Set 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 Commenti
Risposta accettata
Image Analyst
il 22 Set 2015
enableString = get(handles.button1, 'Enable');
isEnabled = strcmp(lower(enableString), 'on');
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Variables in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!