Simulink Entity Splitting Problem
Mostrar comentarios más antiguos
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.
Respuestas (1)
Chaitanya Mallela
el 21 de Dic. de 2020
0 votos
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.
Categorías
Más información sobre Language Fundamentals en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!