| Contents | Index |
[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.
cdfId |
Identifier of a CDF file, returned by a call to cdflib.create or cdflib.open. |
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 =
2
release =
7
increment =
8
% Clean up
cdflib.close(cdfId)
clear cdfIdThis function corresponds to the CDF library C API routine CDFgetVersion. To use these functions, you must be familiar with the CDF C interface. Read the CDF documentation at the CDF Web site. For copyright information, see the cdfcopyright.txt file.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |