How to design 2:1 mux in simulink ?

11 visualizaciones (últimos 30 días)
aastha
aastha el 15 de Feb. de 2014
Respondida: Nitish Kumar el 18 de Nov. de 2020
as 2:1 mux is not present in simulink library of matlab so can anybody guide me how to generate 2:1 mux

Respuestas (1)

Nitish Kumar
Nitish Kumar el 18 de Nov. de 2020
function output=my_new_2_isto_1_mux(D_0,D_1,select_line)
if(select_line==0)
output=D_0;
else
output=D_1;
end
end

Categorías

Más información sobre Simulink en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by