Info
此问题已关闭。 请重新打开它进行编辑或回答。
Use Switch Block for 3 different values ? Matlab Simulink
1 次查看(过去 30 天)
显示 更早的评论
I have a model :
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/271212/image.png)
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 !
0 个评论
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!