| Contents | Index |
cdflib.delete(cdfId)
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.).
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 *.cdfThis function corresponds to the CDF library C API routine CDFdeleteCDF. 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.
cdflib.create | cdflib.setFormat

Explore how to use MATLAB to make advancements in engineering and science.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |