View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
xPC Target Wall Time

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

5.0 | 1 rating Rate this file 2 Downloads (last 30 days) File Size: 20.3 KB File ID: #22702 Version:
image thumbnail

xPC Target Wall Time


Jon Raichek (view profile)


16 Jan 2009 (Updated )

The Wall Time block outputs the current date and time in several formats.

| Watch this File

File Information

Unzip and place the files on your MATLAB path, mex xpcwalltime.c, open xpcwalltimelib then drag and drop the Wall Time block into your model to generate timestamps based on the current date and time.

Required Products Simulink Coder
Simulink Real-Time
MATLAB release MATLAB 7.7 (R2008b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
09 Sep 2014 Thomas Marullo

Is there a way to get millisecond time also for the current date?

Comment only
22 Jan 2009 Casey

Casey (view profile)

This is a great addition to xPC Target. We were doing some temperature trends, and always had to work backwards to get the actual time using etime, clock, and other MATLAB commands. Nice addition.

19 Jan 2009 1.1

Minor cleanup

26 Jan 2009 1.2

Simplified time delta function

01 Sep 2016

Updated license

Contact us