How to design 2:1 mux in simulink ?
Show older comments
as 2:1 mux is not present in simulink library of matlab so can anybody guide me how to generate 2:1 mux
1 Comment
Azzi Abdelmalek
on 15 Feb 2014
How is this possible?
Answers (1)
Nitish Kumar
on 18 Nov 2020
0 votes
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
Categories
Find more on Simulink in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!