Slider Gain
R2026bVary scalar gain using slider
Libraries:
Simulink /
Math Operations
Description
The Slider Gain block performs a scalar gain that you can modify during simulation. Modify the gain using the slider parameter.
Examples
Ports
Input
Output
Parameters
Block Characteristics
Data Types |
|
Direct Feedthrough |
|
Multidimensional Signals |
|
Variable-Size Signals |
|
Zero-Crossing Detection |
|
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"simulink/Math Operations/Slider Gain"
Example: add_block("simulink/Math Operations/Slider Gain","myModel/myBlock",MakeNameUnique="on")
Extended Capabilities
Version History
Introduced before R2006a
