Main Content

Undirected event broadcasts

Diagnostic action to take when undirected event broadcasts are detected

Model Configuration Pane: Diagnostics

Description

The Undirected event broadcasts parameter specifies the diagnostic action to take when a chart contains undirected local event broadcasts.

Undirected local event broadcasts can cause unwanted recursive behavior in a chart and inefficient code generation. To flag these types of event broadcasts and fix them, 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
TraceabilityNo impact
Efficiencywarning
Safety precautionerror

Programmatic Use

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

Version History

Introduced in R2012b