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.

 Respuesta aceptada

Kevin Chien
Kevin Chien el 8 de Jun. de 2017
Editada: Kevin Chien el 8 de Jun. de 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".

Más respuestas (0)

Categorías

Más información sobre Discrete-Event Simulation en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 8 de Jun. de 2017

Comentada:

el 9 de Jun. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by