Main Content

Single task data transfer

Description

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

Category: Diagnostics

Settings

Default: none

none

The software takes no action.

warning

The software issues a warning.

error

The software terminates the simulation and issues 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 rate transition for data transfer parameter is also selected. Those inserted blocks might change the simulation results and block sorted order in some cases.

Programmatic Use

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

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionnone or error

Related Topics