In what order do entities leave an Entity Store?

1 view (last 30 days)
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

Krishna Akella
Krishna Akella on 4 Dec 2018
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)


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


Community Treasure Hunt

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

Start Hunting!

Translated by