Documentation

Entity Replicator

Replicate entities

Library

Routing

Description

This block duplicates entities. It outputs the duplicate entities and can also output the original entity. There is always an output port for the original entity.

Parameters

Replicas depart from

Choose how replicas depart. Select Separate output ports to output one entity from each output port. Select Single output port to output all replicas from a single output port.

Replication amount source

Choose the source to specify the number of replicas. Select Dialog to specify the number of replicas in the dialog box. Select Attribute to select an attribute that will specify the number of replicas. This parameter is visible when you set Replicas depart from to Single output port.

Number of replicas

Specify the number of replicas. This number depends on the selection of the Replicas depart from parameter. If you select Single output port, all replicas depart from this output port. If you select Separate output ports, each replica has its own port.

Replicate attribute name

Specify the attribute that determines the number of replicas. This parameter is visible when you set Replicas depart from to Single output port and Replication amount source is set to Attribute.

Hold original entity until all replicas depart

Select this check box to hold the original entity until all the replicas have departed.

Introduced in R2016a

Was this topic helpful?