Simulink Reference | ![]() ![]() |
Ground an unconnected input port
Library
Description
The Ground block can be used to connect blocks whose input ports are not connected to other blocks. If you run a simulation with blocks having unconnected input ports, Simulink issues warning messages. Using Ground blocks to ground those blocks avoids warning messages. The Ground block outputs a signal with zero value. The data type of the signal is the same as that of the port to which it is connected.
Data Type Support
A Ground block outputs a signal of the same numeric type and data type as the port to which it is connected. For example, consider the following model.
In this example, the output of the Constant block determines the data type (int8
) of the port to which the Ground block is connected. That port in turn determines the type of the signal output by the Ground block.
The Ground block supports fixed-point data types.
Parameters and Dialog Box
Characteristics
Sample Time |
Inherited from driven block |
Dimensionalized |
Yes |
![]() | Goto Tag Visibility | Hit Crossing | ![]() |