Select the diagnostic action to take when one task reads data from a Data Store Memory block to which another task writes data.
Category: Diagnostics
Default: error
none
Simulink® software takes no action.
warning
Simulink software displays a warning.
error
Simulink software terminates the simulation and displays an error message.
Such a situation is safe only if one of the tasks cannot interrupt the other, such as when the data store is a scalar and the writing task uses an atomic copy operation to update the store or the target does not allow the tasks to preempt each other.
You should disable this diagnostic (set it to none
)
only if the application warrants it, such as if the application uses
a cyclic scheduler that prevents tasks from preempting each other.
Parameter: MultiTaskDSMMsg |
Value: 'none' | 'warning' | 'error' |
Default: 'warning' |
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | error |