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
noneSimulink software takes no action.
warningSimulink software displays a warning.
errorSimulink 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
Errorif 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
| Application | Setting |
|---|---|
| Debugging | No impact |
| Traceability | No impact |
| Efficiency | No impact |
| Safety precaution | none or
error |