MATLAB: How to model a system to read the continuous variable value at every specific time-step and ignore other values

simulink

I have a variable signal source. I want to read the value at every specific time step and then process it my algorithm.
I would like to model a system in Simulink that would exhibit this behavior.

Best Answer

The ability to model a system to read the continuous variable value at every specific time-step and ignore other values is available in Simulink 7.3 (R2009a).
In the attached example, the 'Rate Transition' block is used in the model to exhibit this behavior by setting the 'Output port sample time' parameter to the required time-step value.
For more information on the 'Rate Transition' block, refer to the documentation link below.
<http://www.mathworks.com/access/helpdesk/help/toolbox/simulink/index.html?/access/helpdesk/help/toolbox/simulink/slref/ratetransition.html>