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.