MATLAB Function Reference    

Construct a cdfepoch object for Common Data Format (CDF) export



E = cdfepoch(date) constructs a cdfepoch object, where date is a valid string (datestr), a number (datenum) representing a date, or a cdfepoch object.

When writing data to a CDF using cdfwrite, use cdfepoch to convert MATLAB formatted dates to CDF formatted dates. The MATLAB cdfepoch object simulates the CDFEPOCH datatype in CDF files

See also

cdfinfo, cdfread, cdfwrite, datenum

  cdf2rdf cdfinfo