In what order do entities leave an Entity Store?
    4 views (last 30 days)
  
       Show older comments
    
    Akram Najjar
 on 16 Oct 2018
  
    
    
    
    
    Answered: Krishna Akella
    
 on 4 Dec 2018
            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?
0 Comments
Accepted Answer
  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
0 Comments
More Answers (0)
See Also
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!