Decrement Time To Zero
R2026bDecrease real-world value of signal by sample time, but only to zero
Libraries:
Simulink /
Additional Math & Discrete /
Additional Math: Increment - Decrement
Description
The Decrement Time To Zero block decreases the real-world value of the
signal by the sample time, Ts. The output never goes below
zero.
Examples
Limitations
The Decrement Time To Zero block works only with fixed sample rates and does not work inside a triggered subsystem.
Ports
Input
Output
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/Additional Math & Discrete/Additional Math: Increment - Decrement/Decrement Time To Zero"
Example: add_block("simulink/Additional Math & Discrete/Additional Math: Increment - Decrement/Decrement Time To Zero","myModel/myBlock",MakeNameUnique="on")
Extended Capabilities
Version History
Introduced before R2006a


