File Exchange

image thumbnail

xPC Target Wall Time

version (20.3 KB) by

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



View License

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.

Comments and Ratings (2)

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


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.


Updated license


Simplified time delta function


Minor cleanup

MATLAB Release
MATLAB 7.7 (R2008b)

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

» Watch video

Win prizes and improve your MATLAB skills

Play today