Main Content

Single task data transfer

Description

Select the diagnostic action to take if a rate transition occurred between two blocks operating in single-tasking mode.

Category: Diagnostics

Settings

Default: none

none

Simulink® takes no action.

warning

Simulink displays a warning.

error

Simulink 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 parameter when you are modeling a single-tasking system. In such systems, task synchronization is not an issue.

  • Since variable step solvers are always single tasking, this parameter applies to them.

  • The Single task data transfer parameter affects the blocks that are inserted if the Automatically handle data transfers parameter is also selected. Those inserted blocks may change the simulation results and block sorted order in some cases.

Command-Line Information

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

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionnone or error

Related Topics