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

金宝app®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. SetDetect multiple driving blocks executing at the same time steptoerrorto avoid such situations.

Command-Line Information

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

Recommended Settings

Application Setting
Debugging error
Traceability error
Efficiency No impact
Safety precaution error

See Also

Related Topics