Check if an element is enabled or not in GUI
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Daniele Morello
le 22 Sep 2015
Commenté : Daniele Morello
le 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 commentaires
Réponse acceptée
Image Analyst
le 22 Sep 2015
enableString = get(handles.button1, 'Enable');
isEnabled = strcmp(lower(enableString), 'on');
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Variables dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!