필터 지우기
필터 지우기

Can i control Pop up menu depending on other pop up menu drop down

조회 수: 1 (최근 30일)
sandeep singh
sandeep singh 2019년 1월 30일
댓글: sandeep singh 2019년 1월 31일
Hello all,
I have two pop up menus namely pop1 and pop 2 with selections 1,2,3 each respectively. is it possible to implement like if i select 1 in pop1 automatically even in pop2 1 should be selected.

채택된 답변

Jan
Jan 2019년 1월 30일
편집: Jan 2019년 1월 30일
Yes.
function Pop1_Callback(hObject, eventdata, handles)
if isequal(hObject.Value, 1)
handles.Pop2.Value = 1;
end

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by