Calculate average update rate of input signal
The Frame Rate Display block calculates and displays the average update rate of the input signal. This rate is in relation to the wall clock time. For example, if the block displays 30, the model is updating the input signal 30 times every second. You can use this block to check the video frame rate of your simulation. During code generation, Simulink® Coder™ does not generate code for this block.
Note: This block supports intensity and color images on its port.
|Port||Input||Supported Data Types||Complex Values Supported|
M-by-N matrix of intensity values or an M-by-N-by-P color video signal where P is the number of color planes
Use the Calculate and display rate every parameter
to control how often the block updates the display. When this parameter
is greater than 1, the block displays the average update rate for
the specified number of video frames. For example, if you enter
the block calculates the amount of time it takes for the model to
pass 10 video frames to the block. It divides this time by 10 and
displays this average video frame rate on the block.
Note: If you do not connect the Frame Rate Display block to a signal line, the block displays the base (fastest) rate of the Simulink model.
Use this parameter to control how often the block updates the display.