MATLAB: In what order do entities leave an Entity Store

entity storeSimEvents

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?

Best 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
Related Question