This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

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.

Category: Diagnostics


Default: error


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.

Command-Line Information

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

Recommended Settings

DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionerror

See Also

Related Topics