Products & Services Solutions Academia Support User Community Company

Learn more about Simulink   

Ground - Ground unconnected input port

Library

Sources

Description

The Ground block can connect blocks whose input ports do not connect to other blocks. If you run a simulation with blocks having unconnected input ports, Simulink software issues warnings. Using Ground blocks to ground those unconnected blocks can prevent warnings. The Ground block outputs a signal with zero value.

Data Type Support

The Ground block outputs a signal of the same numeric data type as the port to which it connects. 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 all data types supported by Simulink software, including fixed-point data types.

Parameters and Dialog Box

Characteristics

Sample Time

Inherited from driven block

Dimensionalized

Yes

Multidimensionalized

Yes

Virtual

Yes

For more information, see Virtual Blocks in the Simulink documentation.

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS