Check if an element is enabled or not in GUI

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

 Respuesta aceptada

Image Analyst
Image Analyst el 22 de Sept. de 2015
enableString = get(handles.button1, 'Enable');
isEnabled = strcmp(lower(enableString), 'on');

Más respuestas (0)

Categorías

Etiquetas

Preguntada:

el 22 de Sept. de 2015

Comentada:

el 22 de Sept. de 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by