- a screenshot of your model
- the actual error message
Which data type should I introduce via control port in entity output switch?
1 次查看(过去 30 天)
显示 更早的评论
I am providing a double type like 1,2,3,etc to the entity output switch decides which path to follow. But it returns me an error.
1 个评论
Swarooph
2017-5-17
Provide
So that we can see what's going on exactly.
采纳的回答
Kevin Chien
2017-6-8
You need to use [Message Send] block to convert any signal to message, and connect to the control port of [Output switch].
Please see the screenshot below.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Discrete-Event Simulation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!