Using Simulink    
Constant

Generate a constant value.

Library

Sources

Description

The Constant block generates a specified real or complex value independent of time. The block generates one output, which can be scalar, a vector, or a matrix, depending on the dimensionality of the Constant value parameter and the setting of the Interpret vector parameters as 1-D parameter. If the Interpret vector parameters as 1-D parameter is selected and the Constant value parameter is a column or row matrix, the output is a 1-D array (i.e., a vector) whose elements are the elements of the parameter. Otherwise, the output is a 2-D array (i.e., a matrix) that has the same dimensions as the parameter and whose elements are the parameter elements.

Data Type Support

A Constant block outputs a signal whose numeric type (complex or real) and data type are the same as that of the block's Constant value parameter.

Parameters and Dialog Box

Constant value
The output of the block.
Interpret vector parameters as 1-D
If selected, a column or row matrix value for the Constant value parameter results in a vector output whose elements are the elements of the row or column.

Characteristics

Sample Time
Constant
Scalar Expansion
No
Dimensionalized
Yes
Zero Crossing
No


 Configurable Subsystem Coulomb and Viscous Friction