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.close

Close Common Data Format (CDF) file

Syntax

cdflib.close(cdfId)

Description

cdflib.close(cdfId) closes the specified CDF file. cdfId identifies the CDF file.

You must close a CDF to guarantee that all modifications you made since opening the CDF are actually written to the file.

Examples

Open the example CDF file and then close it.

cdfid = cdflib.open('example.cdf');
cdflib.close(cdfid)

Related Examples

References

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

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?