Main Content

Tasks with equal priority

Description

Select the diagnostic action to take if Simulink® software detects two tasks with equal priority that can preempt each other in the target system.

Category: Diagnostics

Settings

Default: warning

none

Simulink software takes no action.

warning

Simulink software displays a warning.

error

Simulink software terminates the simulation and displays an error message.

Tips

  • This condition can occur when one asynchronous task of the target represented by this model has the same priority as one of the target's asynchronous tasks.

  • This option must be set to Error if the target allows tasks having the same priority to preempt each other.

Command-Line Information

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

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionnone or error

Related Topics