User`s guide

11 Real-Time Workshop Libraries
11-24
Rate Transition Block Example
This picture shows a sample application of the Rate Transition block in an ISR:
In this example, the Rate Transition block on the input to the function-call
subsystem causes both the In and Gain1 blocks to run at the 0.1 second rate.
The Rate Transition block on the output of the function-call subsystem causes
both the Gain2 and Out blocks to run at the 0.2 second rate. Using this scheme
ensures strict adherence to the sample-time setting in an ISR.