Documentation

This is machine translation

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

라이선스가 부여된 사용자만 번역 문서를 볼 수 있습니다. 번역 문서를 보려면 로그인하십시오.

cdflib.getVersion

Common Data Format (CDF) library version and release information

Syntax

[version,release,increment] = cdflib.getVersion(cdfId)

Description

[version,release,increment] = cdflib.getVersion(cdfId) returns information about the version of the Common Data Format (CDF) library used to create a CDF file.

Input Arguments

cdfId

Identifier of a CDF file, returned by a call to cdflib.create or cdflib.open.

Output Arguments

version

Numeric value indicating the version number of the CDF library.

release

Numeric value indicating the release number of the CDF library.

increment

Numeric value indicating the increment number of the CDF library.

Examples

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 cdfId

Related Examples

References

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.

Was this topic helpful?