how can I direct entities on simevent basing myself on probability?
조회 수: 1 (최근 30일)
이전 댓글 표시
Ilaria Shireen Sestili
2020년 7월 8일
댓글: Ilaria Shireen Sestili
2020년 7월 16일
Hello!
I am just approaching Simevents and I am trying to understand how, after an entity has passed through an entity server, I can split the flow and redirect entities based on a probability that I will assing.
I hope my question is comprehensible.
Thanks in advance
댓글 수: 0
채택된 답변
Chaitanya Mallela
2020년 7월 16일
편집: Chaitanya Mallela
2020년 7월 16일
Set a probabity vector and assign the port numbers to the entities based on their probabilities.
Connect the Entity Output Switch in Simulink SimEvents library and set the parameters,
Switching criterion to 'From Attribute'
Switch Attribute name to entity type name to which port numbers are assigned and
Number of output ports.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Discrete-Event Simulation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!