Simulink Entity Splitting Problem
显示 更早的评论
In simulink,I am trying to simulate assembly line.In a process some of the parts will be demage.In this case,I am trying to divide entity with probability such as 0.90 percent of part will keep in process,the other parts(%10) will be in the trash.When I simulate this assembly line in ARENA Rockwell Simulation Programme ,I use DECIDE module to divide entities.I am searcing the similiar module or method in Simulink.
Thanks for your helps.
回答(1 个)
Chaitanya Mallela
2020-12-21
0 个投票
You can use entity output switch to divide entites based on probability values
- Set a probabity vector and assign the port numbers to the entities based on their probabilities.
- Connect the Entity Output Switch from 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.
类别
在 帮助中心 和 File Exchange 中查找有关 Language Fundamentals 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!