Bias
R2026bAdd bias to input
Libraries:
Simulink /
Math Operations
HDL Coder /
HDL Floating Point Operations
HDL Coder /
Math Operations
Description
The Bias block adds a bias, or offset, to the input signal according to
Y = U + bias
where U is the block input and Y is the output.
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/Bias"
"hdlsllib/HDL Floating Point Operations/Bias"
"hdlsllib/Math Operations/Bias"
Example: add_block("simulink/Math Operations/Bias","myModel/myBlock",MakeNameUnique="on")
For information about programmatic access to individual block parameters, see the Programmatic Use section of parameter descriptions on this page.
