Im using the simulink counter mask,
Here is what I am tring to do with it:
I integrate the signal in the 3rd window, the result is shown in the 4th window;
When the result in the 4th window is >= 1, the signal in 1st window becomes 1, and I will reset the integrator after the output reaches 1 with a fixed delay.
then I send the signal in the 1st window to the counter, rising edge triggered, count to 100,
the result is shown in 5th window.
and the problem is:
in the 5th window, when the counter reaches 5, it jump to 7 at the next rising edge, then jump to 10 at the next rising edge.
can anyone tell me what coused that plz?