Documentation

Time Stamp Delta

Time stamp delta

  • Library:
  • Target Management / Target Information

Description

This block takes as input two uint32 vectors of length 2. Two separate Elapsed Time blocks can supply each vector. The output is a scalar double that contains the difference between the two timestamps, in nanoseconds.

To compute the difference in nanoseconds between two vector time values, pass both time values to the Time Stamp Delta block. To convert a single time value to nanoseconds, pass one time value to a Time Stamp Delta block and ground the other input.

Ports

Input

expand all

The time value is in an internal format.

Data Types: [uint32 uint32]

The time value is in an internal format.

Data Types: [uint32 uint32]

Output Arguments

expand all

Difference in nanoseconds between t1 and t2.

See Also

Introduced in R2006a

Was this topic helpful?