Real-Time Workshop    

Blocks That Depend on Absolute Time


Some Simulink blocks use the value of absolute time (i.e., the time from the beginning of the program to the present time) to calculate their outputs. If you are designing a program that is intended to run indefinitely, then you cannot use blocks that have a dependency on absolute time.

The problem arises when the value of time reaches the largest value that can be represented by a double precision number. At that point, time is no longer incremented and the output of the block is no longer correct.

The following Simulink blocks depend on absolute time:

The following Simulink blocks depend on absolute time:

In addition to the Simulink block above:


  Glossary Targeting DOS for Real-Time Applications