Main Content

Deterministic data transfer

Deterministic data transfer behavior for automatically inserted Rate Transition blocks

Model Configuration Pane: Solver

Description

The Deterministic data transfer parameter specifies how to set the Ensure deterministic data transfer parameter of Rate Transition blocks the software adds to the model. The software adds Rate Transition blocks automatically when you enable the Automatically handle rate transition for data transfer parameter.

Dependencies

To enable this parameter when the solver Type is Variable-step, select Automatically handle data transition for data transfer.

To enable this parameter when the solver Type is Fixed-step:

  • Set Periodic sample time constraint to Unconstrained or Specified.

  • Select Automatically handle data transition for data transfer.

Settings

Whenever possible (default) | Always | Never (minimum delay)
Whenever possible

The software selects the Ensure deterministic data transfer (maximum delay) parameter for automatically inserted Rate Transition blocks when the block handles data transfer between two periodic sample rates that are related by an integer factor. For Rate Transition blocks that handle data transfer between sample rates that are not periodic or are not related by an integer factor, the software does not select the Ensure deterministic data transfer (maximum delay) parameter.

Always

The software always selects the Ensure deterministic data transfer (maximum delay) parameter for automatically inserted Rate Transition blocks.

The software issues an error if you select this option and the model automatically inserts a Rate Transition block to handle data transfer between two sample times that are not periodic sample times related by an integer factor.

Never (minimum delay)

The software never selects the Ensure deterministic data transfer (maximum delay) parameter for automatically inserted Rate Transition blocks.

Clearing the Ensure deterministic data transfer (maximum delay) parameter can provide reduced latency for models that do not require determinism. For more information, see Rate Transition.

Programmatic Use

Parameter: InsertRTBMode
Type: string | character vector
Values: "Always" | "Whenever possible" | "Never (minimum delay)"
Default: "Whenever possible"

Version History

Introduced in R2008a