Expand Scalar
R2026bLibraries:
Simulink /
Matrix Operations
Description
The Expand Scalar block outputs a scalar-expanded matrix where each element in the matrix has the same value.
Ports
Output
Parameters
Block Characteristics
Data Types |
|
Direct Feedthrough |
|
Multidimensional Signals |
|
Variable-Size Signals |
|
Zero-Crossing Detection |
|
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"simulink/Matrix Operations/Expand Scalar"
Example: add_block("simulink/Matrix Operations/Expand Scalar","myModel/myBlock",MakeNameUnique="on")
For information about programmatic access to individual block parameters, see the Programmatic Use section of parameter descriptions on this page.