Main Content

Detect multiple driving blocks executing at the same time step

Description

Select the diagnostic action to take when the software detects a Merge block with more than one driving block executing at the same time step.

Category: Diagnostics

Settings

Default: error

none

Simulink® software takes no action.

warning

Simulink software displays a warning.

error

Simulink terminates the simulation and displays an error message only if the execution order of the driving blocks is not explicitly defined.

Tips

  • Connecting the inputs of a Merge block to multiple driving blocks that execute at the same time step can lead to inconsistent results for both simulation and generated code. Set Detect multiple driving blocks executing at the same time step to error to avoid such situations.

Command-Line Information

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

Recommended Settings

ApplicationSetting
Debuggingerror
Traceabilityerror
EfficiencyNo impact
Safety precautionerror

See Also

Related Topics