modelCounter
Counter statistical indicator
Extends from ElementIcon (Icon for the elements).
Information
This element stores the value of the count performed by the Count block.
That value is stored in an Object element (in the reference P), and updated using the included functions.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| String | Name | "defaultC" | Name of the counter |
| Integer | Limit | -1 | Simulation limit for this counter (-1 means infinite) |
| String | OutFile | "SIMANLIB_RESULTS.txt" | Output File |
| Integer | P | Objects.ObjCreate(foo = Limit) | pointer to actual matrix of values |