User`s guide
Counter
5-110
Initial count
The counter’s initial value at the start of the simulation and after reset.
Tunable, except in Simulink’s external mode.
Output
Selects the output port(s) to enable:
Cnt, Hit, or both.
Hit value
The scalar value whose occurrence in the count should be flagged by a
1 at
the (optional)
Hit output. This parameter is available when Hit or Count
and Hit
are selected in the Output menu. Tunable, except in Simulink’s
external mode.
Reset input
Enables the
Rst input port when selected.
Samples per output frame
The number of samples, M, in each output frame. This parameter is
available when
Free running is selected in the Count event menu.
Sample time
The output sample period, T
s
, in free-running mode. This parameter is
available when
Free running is selected in the Count event menu.
Supported
Data Types
See Also
Double-precision floating point
Edge Detector DSP Blockset
N-Sample Enable DSP Blockset
N-Sample Switch DSP Blockset