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 | errornoneNo warning or error appears.
warningA warning appears.
errorAn error appears and stops the simulation.
Recommended Settings
| Application | Setting |
|---|---|
| Debugging | warning |
| Traceability | No impact |
| Efficiency | warning |
| Safety precaution | error |
Programmatic Use
Parameter: SFUndirectedBroadcastEventsDiag |
Value: 'none' | 'warning' | 'error' |
Default: 'warning' |
Version History
Introduced in R2012b