blockWhile
While time locator
Information
Syntax
y = While(u = opening_or_closing_event [, tl = master_time_period]);
Description
While is a special case of a continuous time locator with no overlapping time periods.
Opening and closing events are respectively delivered on input u when u becomes respectively true and false.
For more information, refer to the Periods block.
While can only be used as the master time locator of a Periods block.
The Master block can be used to specify the same master period to all time periods of the same model.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | leftBoundaryIncluded | true | If true, the left boundaries of the time periods are included |
| Boolean | rightBoundaryIncluded | true | If true, the right boundaries of the time periods are included |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| ETL.Connectors.WhileOutput | y | Vector of time periods | |
| ETL.Connectors.Boolean4Input | u | Alternating opening and closing events | |
| ETL.Connectors.WhileInput | tl |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| ETL.TimeLocators.While | While |