Simulink Reference Previous page   Next Page
EventData

Provides information about block method execution events.

Description

Simulink 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" 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.

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
Possible values are:

Data Type:   string

Access:   RO



Source

Description:   Block that triggered the event

Data Type:   Simulink.RunTimeBlock

Access:   RO


Previous page  Classes -- Alphabetical List Simulink.AliasType Next page

© 1994-2005 The MathWorks, Inc.