Main Content

Timers

Absolute and elapsed timers

System target files that support the real-time model (rtModel) data structure provide efficient time computation services for blocks that request absolute or elapsed time. Absolute time is the time from the start of program execution to the present time. Elapsed time is the time elapses between two trigger events. See Absolute and Elapsed Time Computation for more information about how the code generator uses timers.

Topics