Multitask data store
Select the diagnostic action to take when one task reads data from a Data Store Memory block to which another task writes data.
Simulink® software takes no action.
Simulink software displays a warning.
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.