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
Swarooph 2017 年 5 月 17 日
Provide
  1. a screenshot of your model
  2. the actual error message
So that we can see what's going on exactly.

サインインしてコメントする。

採用された回答

Kevin Chien
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 ExchangeDiscrete-Event Simulation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by