Check if an element is enabled or not in GUI
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Daniele Morello
el 22 de Sept. de 2015
Comentada: Daniele Morello
el 22 de Sept. de 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 comentarios
Respuesta aceptada
Image Analyst
el 22 de Sept. de 2015
enableString = get(handles.button1, 'Enable');
isEnabled = strcmp(lower(enableString), 'on');
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!