Borrar filtros
Borrar filtros

Check if an element is enabled or not in GUI

3 visualizaciones (últimos 30 días)
Daniele Morello
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

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

Más información sobre Modeling en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by