Code covered by the BSD License  

Highlights from
filedatenum

5.0

5.0 | 2 ratings Rate this file 2 Downloads (last 30 days) File Size: 1.37 KB File ID: #25120

filedatenum

by Charles Plum

 

24 Aug 2009

Returns the modification date (datenum) of a file

| Watch this File

File Information
Description

Purpose: Returns the modification date (datenum) of a file
Usage: file_datenum = filedatenum('myfile.dat')
Author: Charles Plum, Varolii Corp, 21 August 2009

Not elegant but it works ...
Had to check for files in a loop ...
written in haste but really does the trick ...
could not find a similar Matlab function.

to get a more readable date just say ...
datestr(filedatenum('myfile.dat'))

MATLAB release MATLAB 7.8 (R2009a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
31 Aug 2009 Ted Bizzarro

Simple, yet effective. Thanks Professor Plum; just what I was looking for...

22 Jan 2010 Albert Steiner  
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
system identification Charles Plum 24 Aug 2009 14:09:00
data import Charles Plum 24 Aug 2009 14:09:00
file information Charles Plum 24 Aug 2009 14:09:00

Contact us at files@mathworks.com