
blockConcatenateSelectLogical
Merge both Boolean arrays when present, otherwise return the available one
Information
This block concatenates two Boolean arrays if both the parameters
have_u1 and have_u2 are true.
Otherwise, it returns the sole available input array unchanged.
Parameters
| Type | Name | Default | Description |
| Boolean | have_u1 | | Set to true if u1 array available |
| Boolean | have_u2 | | Set to true if u2 array available |
| Integer | nin1 | 0 | Size of input array |
| Integer | nin2 | 0 | Size of input array |
| Integer | nout | if have_u1 and have_u2 then nin1 + nin2 elseif have_u1 then nin1 else nin2 | Size of output array |
Revisions
-
July 10, 2026, by Antoine Gautier:
First implementation.