Check if an element is enabled or not in GUI
조회 수: 3 (최근 30일)
이전 댓글 표시
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
채택된 답변
Image Analyst
2015년 9월 22일
enableString = get(handles.button1, 'Enable');
isEnabled = strcmp(lower(enableString), 'on');
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!