Data Transfers
Data transfers exist between blocks that represent callable functions and exchange data over a signal line. Learn about what to consider when modeling these data exchanges, including rate transitions that occur between participating blocks configured to use different sample times. For multirate models, control data transfer behavior in generated code by inserting and configuring Rate Transition blocks. Enable diagnostics for detecting data transfer issues in a model.
Blocks
IC | Set initial value of signal |
Initialize Function | Execute subsystem on model initialize event |
Rate Transition | Handle transfer of data between blocks operating at different rates |
Model Settings
Allow tasks to execute concurrently on target | Option to enable concurrent tasking behavior for model |
Automatically handle rate transition for data transfer | Option to ensure integrity of data transfer between different sample times in deployed code |
Deterministic data transfer | Deterministic data transfer behavior for automatically inserted Rate Transition blocks |
Higher priority value indicates higher task priority | Priority ordering for real-time system targets |
Multitask data transfer | |
Periodic sample time constraint | Option to specify constraints on model sample times |
Rate Transition block code | Format for rate transition block code and data |
Single task data transfer | |
Tasks with equal priority |
Topics
- Data Transfer Representation and Processing
Learn about data transfer basics.
- Rate Transitions
Learn about rate transition basics and using the Rate Transition block to handle rate transitions.
- Control Data Transfer Behavior in Generated Code
Set up data transfer behavior for multirate models by inserting and configuring Rate Transition blocks.
- Control Format and Placement of Rate Transition Block Code and Data (Embedded Coder)
Use model configuration parameter to specify the format and placement for code and data generated for Rate Transition blocks.
- Visualize Automatically Inserted Rate Transition Blocks
Options for visualizing hidden Rate Transition blocks that Simulink automatically inserts in the model.
- Detect Data Transfer Issues in a Model
Enable diagnostics for troubleshooting data transfer issues.