To create custom observers of the entities and events in your model,
use the simevents.SimulationObserver
object.
simevents.SimulationObserver | Interface to create your custom observer for models with SimEvents blocks |
Observe Entities Using simevents.SimulationObserver Class
This example shows how to use simevents.SimulationObserver
object to count entity departures and acquire departure timestamps.
Use SimulationObserver Class to Monitor a SimEvents Model
To create an observer, create a class that derives
from the simevents.SimulationObserver
object.
Using Custom Visualization for Entities
These examples show how you can create MATLAB based custom visualization for entities.