|
|
| Vector | C | ST | |
в палитре |
на схеме |
The block implements a special algorithm for forming a vector of output logical signals depending on the value of the input scalar signal rounded to the integer number.
Operation algorithm of the block:
- If in the simulation process the scalar input signal when rounded to the integer number is equal to M (1 ≤ M ≤ N), where N is the dimension of the output vector), then in the output vector the TRUE (active) type has only the M-th signal, and all other signals in the output vector correspond to the FALSE (inactive) type.
- If the value of the input scalar signal, rounded to an integer, is less than 1 or greater than N, then all signals in the output vector correspond to the FALSE type.
Входные порты
- U - the input vector port.
Выходные порты
- Y - the output vector port.
Свойства
- Output vector dimension - the dimension of output and input signals of the block.