Reshape Layer
R2026bLibraries:
Deep Learning Toolbox /
Deep Learning Layers /
Utility Layers
Description
The Reshape Layer block reshapes layer input data to the specified output size.
The exportNetworkToSimulink function generates this block to represent a reshapeLayer
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.
"dlutilitylib/Reshape Layer"
Example: add_block("dlutilitylib/Reshape 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.
Version History
Introduced in R2026b


