| Contents | Index |
cdflib.setFormat(cdfId,format)
cdflib.setFormat(cdfId,format) specifies the format of a Common Data Format (CDF) file.
Create a CDF file and specify its format. To run this example, you must have write permission in your current folder.
cdfId = cdflib.create('mycdffile.cdf');
% Specify multifile format.
cdflib.setFormat(cdfId, 'MULTI_FILE');
% Check format.
format = cdflib.getFormat(cdfId)
format =
MULTI_FILE
% Clean up
cdflib.delete(cdfId)
clear cdfIdThis function corresponds to the CDF library C API routine CDFsetFormat. To use this function, 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.getConstantValue | cdflib.getFormat
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |