Skip to Main Content Skip to Search
Product Documentation

setExecutionPeriod - Class: RTW.AutosarInterface
Package: RTW

Specify execution period for TimingEvent

Syntax

autosarInterfaceObj.setExecutionPeriod(EP)
autosarInterfaceObj.setExecutionPeriod(EventName, EP)

Description

autosarInterfaceObj.setExecutionPeriod(EP) specifies the execution period for the sole TimingEvent in a runnable.

autosarInterfaceObj.setExecutionPeriod(EventName, EP) allows you to specify the execution period for a named TimingEvent in a runnable.

autosarInterfaceObj is a model-specific RTW.AutosarInterface object.

Input Arguments

EP

Execution period in seconds

EventName

Name of TimingEvent

See Also

RTW.AutosarInterface.addEventConf | RTW.AutosarInterface.getTriggerPortName

How To

  


Related Products & Applications

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

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