PS Add
R2026bAdd two physical signal inputs
Libraries:
Simscape /
Foundation Library /
Physical Signals /
Functions
Description
The PS Add block outputs the sum of two input physical signals:
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.
Examples
Ports
Input
Output
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"fl_lib/Physical Signals/Functions/PS Add"
Example: add_block("fl_lib/Physical Signals/Functions/PS Add","myModel/myBlock",MakeNameUnique="on")
For information about programmatic access to individual block parameters, see the Programmatic Use section of parameter descriptions on this page.


