Main Content

Common Data Format

CDF files

CDF was created by the National Space Science Data Center (NSSDC) to provide a self-describing data storage and manipulation format that matches the structure of scientific data and applications. MATLAB® high-level functions make it easy to read CDF files. Low-level functions provide direct access to routines in the CDF C API library. Use the low-level functions if you require more control over the import operation, such as data subsetting for large data sets, or to export data to a CDF file. To use the MATLAB CDF low-level functions effectively, you must be familiar with the CDF C interface.

MATLAB supports CDF version 3.7.0.


cdfepochConvert date text or serial date number to CDF formatted dates
cdfinfoInformation about Common Data Format (CDF) file
cdfreadRead data from Common Data Format (CDF) file
todatenumConvert CDF epoch object to MATLAB serial date number


cdflibInteract directly with CDF library


Informations connexes