Simlink Simevents store event time in entity attribute

조회 수: 2 (최근 30일)
xinran liang
xinran liang 2017년 6월 8일
댓글: xinran liang 2017년 6월 9일
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