entity input switch does not work with unique names

Manipulate Entity Attributes, by changing the name of each Entity gives an error when used in the Entity Input Switch.

2 Kommentare

Can you post the complete error message?
It would be nice to see what you did, too, if that's not a problem.
I assume that you get a Data type mismatch error for putting different Entity type names in different Entity Generators connected to the same Entity Input Switch.
If so, then what I can say is that Entity type name is not an attribute of entities, it is a parameter of the Entity Generator block. Attributes for entities are defined in the prompt just below it. Please check the documentation for a more complete description.
I use R2017b, and I have also experienced the same error for the reason I mentioned above.
Stephen23
Stephen23 am 10 Sep. 2019
A W' s "Answer" moved here:
Thank you for the response!
Here is the error:
Data type mismatch. Input port 2 of 'vQueue/Entity Input Switch' expects a signal of data type 'S1'. However, it is driven by a signal of data type 'S2'.
Just as you mentioned. Thank you for the clarification!

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

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

Produkte

Version

R2019a

Gefragt:

A W
am 5 Sep. 2019

Kommentiert:

am 10 Sep. 2019

Community Treasure Hunt

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

Start Hunting!

Translated by