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

Delete existing Common Data Format (CDF) file

Syntax

cdflib.delete(cdfId)

Description

cdflib.delete(cdfId) deletes the existing CDF file specified by the identifier cdfId. If the CDF file is a multi-file format CDF, the cdflib.delete function also deletes the variable files (having file extensions of .z0, .z1, etc.).

Examples

Create a CDF file, and then delete it. To run this example, you must be in a writable folder.

cdfId = cdflib.create('mytempfile.cdf');

% Verify that the file was created.
ls *.cdf

mytempfile.cdf

% Delete the file.
cdflib.delete(cdfId)

% Verify that the file no longer exists.
ls *.cdf

Related Examples

References

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

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?