I need to stop a counter at a certain value in simulink. I need that counts until 1500 and remains at 1500. I used the counter block, but it resets when reach the value 1500, someone could help me?
This can be done by means of a network of diodes and resistors on the output pins. Arrange their polarity so that they pull the enable pin low (or high, whichever is needed), when the combination of outputs matches the binary pattern for 1500.
Or did you already try this, and it resets? Then as an alternative, try pulling the incoming signal low (or high, whichever works).