Visualize Automatically Inserted Rate Transition Blocks
When you select model configuration parameter Automatically handle rate transition for data transfer for a multirate, multitasking model and you update the diagram, Simulink® inserts Rate Transition blocks on signal paths that cross boundaries of tasks that have different sample times. The inserted blocks are hidden by default.
When you update the diagram, block labels appear in the model and indicate where Simulink inserted Rate Transition blocks during the compilation phase. For example, when you compile this model, Simulink inserts Rate Transition blocks between:
Sine Wave2
block and the Mux blockSineWave3
block and the Mux blockSine Wave2
block andDiscrete-Time Integrator2
block
The ZOH
and DbBuf
block labels identify simulation
behavior of the inserted blocks. For a list of block labels and their meanings, see Rate
Transition.
You can show or hide the block labels. To show the block labels, in the Debug tab, in the Diagnostics section, select Information Overlays > Automatic Rate Transitions.
To make a Rate Transition block visible, right-click the block label and click Insert rate transition block.
When you make hidden Rate Transition blocks visible, you can:
View the simulation behavior of Rate Transition block that was inserted and the block location.
Set the block parameter Initial conditions.
Change block parameter settings to control tradeoffs for the data transfer, such as data integrity and latency.
Validate the changes to your model by updating your diagram.
Displaying inserted Rate Transition blocks is not compatible with export-function models.
To learn more about the types of Rate Transition blocks, see Rate Transition.
See Also
Automatically handle rate transition for data transfer | Rate Transition