Products & Services Solutions Academia Support User Community Company

Learn more about SimEvents   

Entity Sink - Accept or block entities

Library

SimEvents Sinks

Description

This block provides a way to terminate an entity path:

Ports

Entity Input Ports

LabelDescription
INPort for entities that arrive or attempt to arrive.

Signal Output Ports

LabelDescriptionTime of Update When Statistic Is On
#aNumber of entities that the block has accepted. You see this port only if you select Input port available for entity arrivals, and then set Number of entities arrived to either On or Upon stop or pause.After entity arrival

The initial output value, which is in effect from the start of the simulation until the first update by the block, is 0.

Dialog Box

Input port available for entity arrivals

Determines whether the block accepts or blocks entities that attempt to arrive.

Number of entities arrived

Controls the presence and behavior of the signal output port labeled #a. You see this field only if you select Input port available for entity arrivals.

Examples

See Also

Time-Based Entity Generator, Event-Based Entity Generator

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS