Simlink Simevents store event time in entity attribute

2 次查看(过去 30 天)
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.

采纳的回答

Kevin Chien
Kevin Chien 2017-6-8
编辑:Kevin Chien 2017-6-8
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".

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Discrete-Event Simulation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by