Documentation

Decrement Time To Zero

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

Library

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. 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.

Characteristics

Data Types

Double | Single | Base Integer | Fixed-Point

Direct Feedthrough

Yes

Multidimensional Signals

No

Variable-Size Signals

No

Zero-Crossing Detection

No

Code Generation

Yes

Introduced before R2006a

Was this topic helpful?