Using pop-up menu to enable/disable a button group
조회 수: 3 (최근 30일)
이전 댓글 표시
I have 2 button groups and a pop-up menu to switch from one button group to another. I try using this code but it didn't work for me. What can I do?
switch get(hObject, 'Value')
case 1
set (handles.panel_LG, 'Visible', 'on')
set (handles.panel_Newton, 'Visible', 'off')
case 2
set (handles.panel_LG, 'Visible', 'off')
set (handles.panel_Newton, 'Visible', 'on')
end
댓글 수: 1
답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!