Code covered by the BSD License  

Highlights from
xPC Target Wall Time

5.0

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

xPC Target Wall Time

by Jon Raichek

 

16 Jan 2009 (Updated 26 Jan 2009)

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

| Watch this File

File Information
Description

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 Real-Time Workshop
Simulink
xPC Target
MATLAB release MATLAB 7.7 (R2008b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
22 Jan 2009 Casey

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.

Please login to add a comment or rating.
Updates
19 Jan 2009

Minor cleanup

26 Jan 2009

Simplified time delta function

Tag Activity for this File
Tag Applied By Date/Time
xpc target Jon Raichek 19 Jan 2009 10:46:26
timestamp Jon Raichek 19 Jan 2009 10:46:26
time Jon Raichek 19 Jan 2009 10:46:26
clock Jon Raichek 19 Jan 2009 10:46:26

Contact us at files@mathworks.com