Simlink Simevents store event time in entity attribute

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.

 Réponse acceptée

Kevin Chien
Kevin Chien le 8 Juin 2017
Modifié(e) : Kevin Chien le 8 Juin 2017

1 vote

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".

Plus de réponses (0)

Catégories

En savoir plus sur Discrete-Event Simulation dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by