This block generates entities.
Select the method of generation. Choose
generate entities using intergeneration times from an input signal
or statistical distribution. Choose
an external event to determine the entity intergeneration time.
Select the source of the intergeneration time. Select
specify a fixed period between entity generations. Select
port to generate entities based on an input signal.
MATLAB action to define a MATLAB® script
that defines the intergeneration time. This parameter is visible when Generation
method is set to
Define the period between the generation of entities. This parameter
is visible when Generation method is set to
Check this box to generate an entity at the start of the simulation.
Choose the type of entity to generate. The
has a data value associated with it. The
includes attributes that you can set. The
Bus object type
lets you generate bus objects as entities.
Determines the priority of the generated entity. A lower value indicates higher priority.
Specify the name of the generated entity. This parameter is
visible when Entity type is set to
Specify the initial value of the data of an anonymous entity.
This parameter is visible when you set Entity type to
This value cannot be of type int64.
Define the attributes of the generated entity. This parameter
is visible when Entity type is set to
When done, you can export the structured entity type as a bus object, with the name Entity type name, to the base workspace. You need to export this bus object when using the MATLAB Discrete-Event System and Discrete Event Chart blocks.
Specify the behavior of the entity on certain events. Define the behavior in the Event action parameter. For example, the Generate action is called when an entity is generated.
Define the behavior for the event action specified in Event actions.
Outputs the number of entities that have departed the block.
Indicates whether there are pending entities that have yet to depart the block.
Outputs the average time between generation of entities.
Composite Entity Creator | Composite Entity Splitter | Discrete Event Chart | Entity Gate | Entity Terminator | Entity Input Switch | Entity Multicast | Entity Multicast | Entity Output Switch | Entity Queue | Entity Replicator | Entity Server | MATLAB Discrete Event System | Multicast Receive Queue | Resource Acquirer | Resource Pool | Resource Releaser