Use Switch Block for 3 different values ? Matlab Simulink

I have a model :
with a Switch which have 2 inputs y. One input y can take enumerated values "Green" or "Orange" and the other one can take enumerated values "Green" or "Red". And i would like to know how with a switch (or another solution) can i have in output :
Green + Green = Green
Red + Green = Red
Orange + Green = Orange
Red + Orange = Red
Thanks !

Réponses (0)

Cette question est clôturée.

Tags

Question posée :

le 12 Fév 2020

Clôturé :

le 20 Août 2021

Community Treasure Hunt

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

Start Hunting!

Translated by