Passing of entities to multiple destination

1 view (last 30 days)
I have an entity generator block where entities generates on a time-based method. I want to pass these entities to multiple destinations which are entity servers. But I am unable to do it.
I have this error.

Answers (1)

Abdolkarim Mohammadi
Abdolkarim Mohammadi on 29 Mar 2022
You should use an Entity Replicator block in order to create copies to be sent to multiple destinations.
Andanu Vidya Sagar Patro
Andanu Vidya Sagar Patro on 29 Mar 2022
Thank you for the reply. I have used the entity replicator block and it worked but the thing is, in production scenario if I imagine, then there will be three different products passing to different stations. Is there any way to solve to write any code in the source block in the exit event action that if any of the machine is empty then the entity can move to that block. Can it be solved in this way? I dont know the function to move the entities.

Sign in to comment.


Find more on Discrete-Event Simulation in Help Center and File Exchange




Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!