Products & Services Solutions Academia Support User Community Company

Learn more about Simulink   

eventData - Provide information about block method execution events

Description

Simulink software creates an instance of this class when a block method execution event occurs during simulation and passes it to any listeners registered for the event (see add_exec_event_listener). The instance specifies the type of event that occurred and the block whose method execution triggered the event. See Accessing Block Data During Simulation in Simulink User's Guide for more information.

Parent

None

Children

None

Property Summary

Name

Description

Type

Type of method execution event that occurred.

Source

Block that triggered the event.

Properties

Type

Description

Type of method execution event that occurred. Possible values are:

event

Occurs...

'PreOutputs'

Before a block's Outputs method executes.

'PostOutputs'

After a block's Outputs method executes.

'PreUpdate'

Before a block's Update method executes.

'PostUpdate'

After a block's Update method executes.

'PreDerivatives'

Before a block's Derivatives method executes.

'PostDerivatives'

After a block's Derivatives method executes.

Data Type

string

Access

RO

Source

Description

Block that triggered the event

Data Type

Simulink.RunTimeBlock

Access

RO

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2010- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS