Main Content

Timestamp

Output signal timestamp in Run in Kernel mode

  • Timestamp block

Libraries:
Simulink Desktop Real-Time / Target Profiling

Description

The Timestamp block outputs the timestamp for its input signal. The timestamp is relative to model start time in Run in Kernel mode. The input signal can be any signal of any data type.

In Connected IO mode, this block does not perform any action. It outputs zeros.

Examples

Ports

Input

expand all

The actual data values are ignored.

Output

expand all

For each signal connected to Signals, the block returns the signal timestamp measured from the beginning of model execution.

Version History

Introduced in R2017a

expand all