Common Data Format (CDF) library version and release information
[version,release,increment] = cdflib.getVersion(cdfId)
[version,release,increment] = cdflib.getVersion(cdfId)
returns information about the version of the Common Data Format (CDF)
library used to create a CDF file.
|
Identifier of a CDF file, returned by a call to |
|
Numeric value indicating the version number of the CDF library. |
|
Numeric value indicating the release number of the CDF library. |
|
Numeric value indicating the increment number of the CDF library. |
Open the example CDF file, and then find out the version of the CDF library used to create it:
cdfId = cdflib.open('example.cdf'); [version, release, increment] = cdflib.getVersion(cdfId) version = 3 release = 7 increment = 0 % Clean up cdflib.close(cdfId) clear cdfId
This function corresponds to the CDF library C API routine CDFgetVersion
.
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.