[simulink] Pulse counter for succesive time intervals

Discussion in 'Programmer's Corner' started by Chradem, Jan 20, 2010.

  1. Chradem

    Thread Starter New Member

    Nov 13, 2009
    2
    0
    I generated a pulse train in simulink (as a result of a mechanism) which last for 100 seconds (simulation time).
    I'd like to count the amount of pulses every 10 seconds. Thus for the interval 0-10, 10-20, 20-30 etc.
    How can I do this?
     
Loading...