This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Entity Terminator

Terminate entities

  • Library:
  • SimEvents


The Entity Terminator block accepts and destroys entities. Use this block to represent the entity departure from the model.

To customize actions when entities enter, use MATLAB® code in the Entry action field of the Event actions tab. See Events and Event Actions, for more information.



expand all

Input entity port for entities entering the terminator.

Data Types: single | double | int8 | int16 | int32 | uint8 | uint16 | uint32 | Boolean | enumerated | bus


expand all

Number of entities that have arrived at the block.


To enable this port, click the Statistics tab and select the box labeled Number of entities arrived, a.

Data Types: double


expand all

Specify the behavior of the entity in certain events. Define the behavior in the Event action parameter. The Entry action is called just after the entity entry to the block.

Programmatic Use

Block Parameter: EntryAction
Type: character vector
Values: MATLAB code
Default: ''

Number of entities that have arrived at the block.

Programmatic Use

Block Parameter: NumberEntitiesArrived
Type: character vector
Values: 'on' | 'off'
Default: 'off'

Introduced in R2016a