필터 지우기
필터 지우기

Check if an element is enabled or not in GUI

조회 수: 3 (최근 30일)
Daniele Morello
Daniele Morello 2015년 9월 22일
댓글: Daniele Morello 2015년 9월 22일
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

채택된 답변

Image Analyst
Image Analyst 2015년 9월 22일
enableString = get(handles.button1, 'Enable');
isEnabled = strcmp(lower(enableString), 'on');

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by