In what order do entities leave an Entity Store?

If n entities are found in an Entity Store and the downstream block opens to serve 1 or 2 or x, what is the order by which the entities leave the Entity Store?

 Accepted Answer

Hi Akram,
All entities in an 'Entity Store' block are in a 'ready to leave' state. If the down-stream block is not selective about which entities it wants to select, then entities leave the 'Entity Store' in a FIFO order.
The real benefit of the 'Entity Store' is when it used in conjunction with a block like the 'Entity Selector' block.
- Krishna

More Answers (0)

Categories

Find more on Discrete-Event Simulation in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!