Tasks with equal priority
Diagnostic action to take when tasks with equal priority can preempt each other
Model Configuration Pane: Diagnostics / Sample Time
Description
The Tasks with equal priority parameter specifies 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
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.
Recommended Settings
| Application | Setting |
|---|---|
| Debugging | No impact |
| Traceability | No impact |
| Efficiency | No impact |
| Safety precaution | none or error |
Programmatic Use
Parameter: TasksWithSamePriorityMsg |
Value: "none" | "warning" | "error" |
Default: "warning" |
Version History
Introduced in R2006a