<< ld_memorydel basic_ldblocks ld_mult >>

ORTD Scilab Interface Toolbox >> basic_ldblocks > ld_modcounter

ld_modcounter

Modulo Counter - Block

Calling Sequence

[sim, out] = ld_modcounter(sim, events, in, initial_count, mod)

Description

in * - input

out * -output

A counter that increases its value for each timestep for which in &gt; 0 is true.

if the counter value &gt;= mod then it is reset to counter = initial_count


Report an issue
<< ld_memorydel basic_ldblocks ld_mult >>