Filter löschen
Filter löschen

Which data type should I introduce via control port in entity output switch?

1 Ansicht (letzte 30 Tage)
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 Kommentar
Swarooph
Swarooph am 17 Mai 2017
Provide
  1. a screenshot of your model
  2. the actual error message
So that we can see what's going on exactly.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Kevin Chien
Kevin Chien am 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.

Weitere Antworten (0)

Kategorien

Mehr zu Discrete-Event Simulation finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by