• Library:
• Simscape / Foundation Library / Physical Signals / Functions

Description

The PS Add block outputs the sum of two input physical signals:

`$O={I}_{1}+{I}_{2}$`

where

 I1 Physical signal at the first input port I2 Physical signal at the second input port O Physical signal at the output port

Physical signals at the two input ports must have commensurate units. The unit at the output port is determined by unit propagation rules. For more information, see Physical Signal Unit Propagation.

Ports

Input

expand all

First input physical signal to be added. In the block icon, this port is marked with a plus sign (+).

The port name is not visible in the block icon, but you can see this name in the underlying source file (accessible by clicking the Source code link in the block dialog box).

Second input physical signal to be added. In the block icon, this port is marked with a plus sign (+).

The port name is not visible in the block icon, but you can see this name in the underlying source file (accessible by clicking the Source code link in the block dialog box).

Output

expand all

Output physical signal.

The port name is not visible in the block icon, but you can see this name in the underlying source file (accessible by clicking the Source code link in the block dialog box).

Compatibility Considerations

expand all

Behavior changed in R2019a

Extended Capabilities

C/C++ Code GenerationGenerate C and C++ code using Simulink® Coder™.

Introduced in R2007a