Passing of entities to multiple destination

조회 수: 1 (최근 30일)
Andanu Vidya Sagar Patro
Andanu Vidya Sagar Patro 2022년 3월 27일
댓글: Abdolkarim Mohammadi 2022년 3월 29일
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.

답변 (1개)

Abdolkarim Mohammadi
Abdolkarim Mohammadi 2022년 3월 29일
You should use an Entity Replicator block in order to create copies to be sent to multiple destinations.
  댓글 수: 2
Andanu Vidya Sagar Patro
Andanu Vidya Sagar Patro 2022년 3월 29일
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.
Abdolkarim Mohammadi
Abdolkarim Mohammadi 2022년 3월 29일
You should use Entity output switch.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Discrete-Event Simulation에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by