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

1 visualizzazione (ultimi 30 giorni)
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.

Risposta accettata

Kevin Chien
Kevin Chien il 8 Giu 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.

Più risposte (0)

Categorie

Scopri di più su Discrete-Event Simulation in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by