User`s guide
Sample Rates and Frame Rates
3-19
Note that the sample rate conversion is implemented through a change in the
frame period rather than the frame size. This is because the
Frame-based
mode
parameter in the Upsample blocks is set to Maintain input frame size
rather than
Maintain input frame rate. See “Converting Sample Rates and
Frame Rates” on page 3-20 for more information.
Using Sample Time Color Coding to Inspect Sample Rates
Turn on Simulink’s sample time color coding option by selecting Sample time
colors
from the Format menu. For sample-based signals, this assigns each
sample rate a different color. For frame-based signals, this assigns each frame
rate a different color.
Sample Time Color Coding Example: Sample-Based. Here is the sample-based model
from “Probe Block Example: Sample-Based” on page 3-18 with the Probe blocks
removed and sample time color coding turned on.
Since every sample-based signal in this model has a different sample rate, each
signal is assigned a different color.
Sample Time Color Coding Example: Frame-Based. Here’s the frame-based model
from “Probe Block Example: Frame-Based” on page 3-18 with the Probe blocks
removed and sample time color coding turned on.
Red = fastest sample rate
Green = second fastest sample rate
Blue = third fastest sample rate