Main Content

Common Data Format

CDF files

Common Data Format (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.8.1.


cdfinfoInformation about Common Data Format (CDF) file
cdfreadRead data from Common Data Format (CDF) file


cdflibInteract directly with CDF library


Related Information