Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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

Data Type

Simulink.RunTimeBlock

Access

RO

Introduced in R2009b

Was this topic helpful?