Automatically handle rate transition for data transfer
Option to ensure integrity of data transfer between different sample times in deployed code
Model Configuration Pane: Solver
Description
The Automatically handle rate transition for data transfer parameter provides an option to ensure the integrity of data transferred between different sample times in deployed code. When you select this option, the software inserts Rate Transition blocks between blocks that have different sample times. The inserted Rate Transition blocks ensure that data in deployed code transfers between different sample times without overwritten values.
For more information, see Control Data Transfer Behavior in Generated Code (Simulink Coder).
Settings
off
(default) | on
off
The software does not insert Rate Transition blocks between blocks with different sample times. When the software detects a sample time transition, you must modify the model to eliminate the transition or manually insert a Rate Transition block.
on
The software inserts a Rate Transition block between blocks with different sample times and handles rate transitions for asynchronous and periodic tasks.
For asynchronous tasks, the software configures the inserted blocks to ensure data integrity but not determinism during data transfers.
Selecting this option enables the Deterministic data transfer parameter, which allows you to control the level of data transfer determinism for periodic tasks.
Programmatic Use
Parameter: AutoInsertRateTranBlk |
Type: string | character vector |
Value:
"on" | "off" |
Default:
"off" |
Version History
Introduced in R2007a
See Also
Topics
- Control Data Transfer Behavior in Generated Code (Simulink Coder)
- Solver Pane