PS Constant
R2026bGenerate constant physical signal
Libraries:
Simscape /
Foundation Library /
Physical Signals /
Sources
Description
The PS Constant block generates a physical signal of a constant value. You specify the value and unit of the signal as the Constant parameter.
Examples
Ports
Output
Parameters
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/Sources/PS Constant"
Example: add_block("fl_lib/Physical Signals/Sources/PS Constant","myModel/myBlock",MakeNameUnique="on")
For information about programmatic access to individual block parameters, see the Programmatic Use section of parameter descriptions on this page.


