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.

Generate and Destroy Entities

Generate model input traffic, entity types, attach data to entities; specify generation times, intergeneration times, random generation, deterministic generation, termination

Discrete-event simulations typically involve discrete items of interest, called entities in SimEvents® software. For more information, see Entities in a SimEvents Model.

Functions

simeventsOpen SimEvents library
simeventslibOpen SimEvents library

Blocks

Entity GeneratorGenerate Entities
Entity ReplicatorReplicate entities
Entity TerminatorTerminate entities
Hit CrossingDetect crossing point
Message SendCreate and send message
Message ReceiveExtract data from received messages

Examples and How To

Inspect Structures of Entities

Inspect entity structures using these methods.

Specify Intergeneration Times for Entities

Specify intergeneration times for entities using MATLAB® code.

Adjust Entity Generation Times Through Feedback

This example shows a queuing system in which feedback influences the arrival rate.

Replicate Entities on Multiple Paths

Create copies of entities.

Generate Multiple Entities at Time Zero

Generate multiple entities at time zero using MATLAB code.

Measure Point-to-Point Delays

Measure point-to-point delays using timers.

Generate Entities When Events Occur

Use events to determine when to generate an entity.

Generate Entities Carrying Nested Data Structures

Create nested data structures for entities using bus objects.

Concepts

Entities in a SimEvents Model

Learn how entities fit into the modeling process.

Entity Types

Specify entity types.

Storage and Nonstorage Blocks

See lists of blocks in the storage and nonstorage categories.

Working with SimEvents and Simulink

You can exchange data between SimEvents and Simulink® environments.

Featured Examples