cdflib.open
Open Common Data Format (CDF) file
Syntax
cdfId = cdflib.open(filename)
Description
cdfId = cdflib.open( opens an
existing Common Data Format (CDF) file. filename)filename is a
character vector or string scalar 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.
Examples
Open the example CDF file:
cdfId = cdflib.open("example.cdf")uint64 1551323569856
% Clean up cdflib.close(cdfId) clear cdfId
Tips
This function corresponds to the CDF library C API routine
CDFopenCDF.To use this function, you must be familiar with the CDF C interface. You can access the CDF documentation at the CDF website.