Syntax
y = EventCounter(u = condition, tl = time_period);
Description
This blocks computes the number of event occurrences on the Boolean4 condition u over time period tl (i.e. the total number of occurrences when u becomes true over tl).
Example
This block is demonstrated with the following example: