Block that returns
y = u[index];
where u is a vector-valued Boolean input signal and index is an Integer input signal. When the index is out of range,
u
Boolean
index
Integer
y = u[nin]
index > nin
y = u[1]
index < 1