Simlink Simevents store event time in entity attribute
    4 views (last 30 days)
  
       Show older comments
    
I want to record when an entity enters/leaves each queue. I was thinking recording simulation time in entity attribute. Does any one know how to do this? Thanks.
0 Comments
Accepted Answer
  Kevin Chien
    
 on 8 Jun 2017
        
      Edited: Kevin Chien
    
 on 8 Jun 2017
  
      There is a simple example in SimEvents design patterns.
Open SimEvents library, click on [Design Patterns] block (which locates at the bottom of the library), and search for the pattern "Time stamp entities upon generation".
More Answers (0)
See Also
Categories
				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!
