An event is the observation of an instantaneous incident that may change a state variable, an output, and/or the occurrence of other events. When an event occurs, you can create a response by invoking a corresponding action for that event. For example, an entity's entry into a block may invoke an entry action. You can write actions for many events using MATLAB® code or Simulink Function block. Each block for which you can create actions has an Event Actions tab. For more information on events and event actions, see Role of Events in a SimEvents Model and Events and Event Actions.
In a discrete-event simulation, an event is an observation of an instantaneous incident that may change a state variable, an output, and/or the occurrence of other events.
Use supported event action languages and randomization methods.
Use events to determine when to generate an entity.
Prevent infinite loops.
SimEvents® software uses entity priorities to prioritize events.
When migrating legacy SimEvents models, you often must create event actions.