Borrar filtros
Borrar filtros

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

1 visualización (últimos 30 días)
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.

Respuesta aceptada

Jan
Jan el 30 de En. de 2019
Editada: Jan el 30 de En. de 2019
Yes.
function Pop1_Callback(hObject, eventdata, handles)
if isequal(hObject.Value, 1)
handles.Pop2.Value = 1;
end

Más respuestas (0)

Categorías

Más información sobre Interactive Control and Callbacks en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by