This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Decrement Time To Zero

Decrease real-world value of signal by sample time, but only to zero


Additional Math & Discrete / Additional Math: Increment - Decrement


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. This block works only with fixed sample rates and does not work inside a triggered subsystem.

Data Type Support

The Decrement Time To Zero block accepts signals of the following data types:

  • Floating point

  • Built-in integer

  • Fixed point

For more information, see Data Types Supported by Simulink in the Simulink® documentation.


Data Types

Double | Single | Base Integer | Fixed-Point

Direct Feedthrough


Multidimensional Signals


Variable-Size Signals


Zero-Crossing Detection


Code Generation


Introduced before R2006a

Was this topic helpful?