- a screenshot of your model
- the actual error message
Which data type should I introduce via control port in entity output switch?
1 view (last 30 days)
Show older comments
Beatriz Gonçalves
on 17 May 2017
Commented: Gabriele Gualandi
on 15 Feb 2019
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 Comment
Swarooph
on 17 May 2017
Provide
So that we can see what's going on exactly.
Accepted Answer
Kevin Chien
on 8 Jun 2017
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.
More Answers (0)
See Also
Categories
Find more on Discrete-Event Simulation 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!