You can use these blocks to route entities in your model. Use the Entity Gate block to control entity flow, use Entity Input Switch and Entity Output Switch blocks to merge and split paths, Entity Multicast to multicast entities, and Entity Selector block to select entities based on attributes.
You can also use these routing techniques to route Simulink® Messages.
Entity Gate | Gate entities |
Entity Input Switch | Switch input entities |
Entity Multicast | Send multicast entities |
Entity Output Switch | Output entities |
Entity Selector | Select entities |
Multicast Receive Queue | Receive multicast entities |
Route Vehicles Using an Entity Output Switch Block
This example shows how to route vehicles to two different pumps in a gas station by controlling an Entity Output Switch block.
Control Output Switch with Event Actions and Simulink Function
Use messages to change Entity Output Switch output port.
Enable a Gate for a Time Interval
Open or close a gate using the Entity Gate block.
Match Entities Based on Attributes
This example shows how to build a model to store and match entities representing bicycle components.
Role of Entity Ports and Paths
What entity paths represent.
Role of Gates in SimEvents Models
What gates represent in various models.