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 CenterFile Exchange에서 Discrete-Event Simulation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by