Route Entities

Entity paths, decision-making logic, switching

An entity path is a connection from the entity output port of a block to the entity input port of another block in SimEvents® library. You can use these blocks to route entities in your model. For more information, see Role of Paths in SimEvents Models.


Entity GateGate entities
Entity Input SwitchSwitch input entities
Entity MulticastSend multicast entities
Entity Output SwitchOutput entities
Entity SelectorSelect entities
Multicast Receive QueueReceive 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.

Use Attributes to Route Entities

Route entities using switch attributes.

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.

Role of Paths in SimEvents Models

An entity path is a connection from an entity output port to an entity input port, depicted as a line connecting the entity ports of two SimEvents blocks.

Featured Examples