Concatenation Layer
R2026bLibraries:
Deep Learning Toolbox /
Deep Learning Layers /
Combination Layers
Description
The Concatenation Layer block takes inputs and concatenates them along a specified dimension. The inputs must have the same size in all dimensions except the concatenation dimension. This block accepts data that has dimensions corresponding to the format that you specify with the Data format block parameter.
The exportNetworkToSimulink function generates this block to represent a concatenationLayer
object.
Examples
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.
"dlcombinationlib/Concatenation Layer"
Example: add_block("dlcombinationlib/Concatenation Layer","myModel/myBlock",MakeNameUnique="on")
For information about programmatic access to individual block parameters, see the Programmatic Use section of parameter descriptions on this page.


