Getting Started | ![]() ![]() |
Using Sample Time Colors to Check Sample Times
You can easily check whether there are different sample times in a model by selecting Sample time colors from the Format menu. Then select Update diagram from the Edit menu. When you do this, blocks and lines in the model are colored according to their sample times.
Red blocks and lines indicate the fastest sample time in the model. Green indicates the second fastest sample time. Yellow blocks contain signals with different sample times. If all sample times in the model are the same, all blocks and lines are colored red. For more information on sample time colors, see the Simulink documentation.
For frame-based signals, the colors correspond to the frame periods of the signals rather than sample times.
If you need to determine the actual sample time of a signal, you can use a Probe block as described in Building a Frequency-Shift Keying Model.
![]() | Multirate Models | Building a Convolutional Code Model | ![]() |