Main Content

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 Access Block Data During Simulation 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

character vector

Access

RO

Source

Description

Block that triggered the event

Access

RO

Version History

Introduced in R2009b