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.
|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 10, 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.
The Frame Rate Display dialog box appears as shown in the following figure.