Contenuto principale

Multitask data transfer

Diagnostic action to take for unspecified data transfers between tasks

Model Configuration Pane: Diagnostics / Sample Time

Description

The Multitask data transfer parameter specifies the diagnostic action to take if an invalid rate transition occurred between two blocks operating in multitasking mode.

Settings

error (default) | warning
warning

Simulink® software displays a warning.

error

Simulink software terminates the simulation and displays an error message.

Tips

  • This parameter allows you to adjust error checking for sample rate transitions between blocks that operate at different sample rates.

  • Use this option for models of real-time multitasking systems to ensure detection of illegal rate transitions between tasks that can result in a task's output being unavailable when needed by another task. You can then use Rate Transition blocks to eliminate such illegal rate transitions from the model.

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionerror

Programmatic Use

Parameter: MultiTaskRateTransMsg
Value: "warning" | "error"
Default: "error"

Version History

Introduced in R2006a