Main Content

Multitask data transfer

Description

Select the diagnostic action to take if an invalid rate transition occurred between two blocks operating in multitasking mode.

Category: Diagnostics

Settings

Default: error

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.

Command-Line Information

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

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionerror

Related Topics