This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Open existing Common Data Format (CDF) file


cdfId =


cdfId = opens an existing Common Data Format (CDF) file. filename is a character vector that identifies the file.

This function returns a CDF file identifier, cdfId.

All CDF files opened this way have the zMode set to zModeon2. Refer to the CDF User's Guide for information about zModes.


Open the example CDF file:

cdfId ='example.cdf');

% Clean up

clear cdfId


This function corresponds to the CDF library C API routine CDFopenCDF.

To use this function, you must be familiar with the CDF C interface. Read the CDF documentation at the CDF website.

For copyright information, see the cdfcopyright.txt file.

Was this topic helpful?