Timestamp
R2026bOutput signal timestamp in Run in Kernel mode or Priority mode
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 or Priority 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
Output
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"sldrtlib/Target Profiling/Timestamp"
Example: add_block("sldrtlib/Target Profiling/Timestamp","myModel/myBlock",MakeNameUnique="on")
