Main Content

Transition action specified before condition action

Diagnostic action to take when a transition action is specified befor a condition action

Model Configuration Pane: Diagnostics

Description

The Transition action specified before condition action parameter specifies the diagnostic action to take when a transition action executes before a condition action in a transition path with multiple transition segments.

When a transition with a specified transition action precedes a transition with a specified condition action in the same transition path, out-of-order execution can occur. To flag such behavior in your chart and fix it, use this diagnostic.

Settings

warning (default) | none | error
none

No warning or error appears.

warning

A warning appears.

error

An error appears and stops the simulation.

Recommended Settings

ApplicationSetting
Debuggingwarning
Traceabilitywarning
Efficiencywarning
Safety precautionerror

Programmatic Use

Parameter: SFTransitionActionBeforeConditionDiag
Value: 'none' | 'warning' | 'error'
Default: 'warning'

Version History

Introduced in R2012b