PS Concatenate
R2026bLibraries:
Simscape /
Foundation Library /
Physical Signals /
Functions
Description
The PS Concatenate block concatenates two input vectors or matrices into a single output.
Physical signals at the two input ports must have commensurate units. The unit at the output port is determined by unit propagation rules. For more information, see Physical Signal Unit Propagation.
By default, the block concatenates the matrices vertically. To concatenate horizontally, select the Concatenate horizontally check box.
Ports
Input
Output
Parameters
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"fl_lib/Physical Signals/Functions/PS Concatenate"
Example: add_block("fl_lib/Physical Signals/Functions/PS Concatenate","myModel/myBlock",MakeNameUnique="on")
For information about programmatic access to individual block parameters, see the Programmatic Use section of parameter descriptions on this page.
Extended Capabilities
Version History
Introduced in R2023b
See Also
PS Dot Product | PS Selector | PS Sum of Elements | PS Vector Norm
