Simlink Simevents store event time in entity attribute

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

Accepted Answer

Kevin Chien
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)

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!