| Contents | Index |
info = cdflib.inquire(cdfId)
info = cdflib.inquire(cdfId) returns basic information about a Common Data Format (CDF) file.
cdfId |
Identifier of a CDF file, returned by a call to cdflib.create or cdflib.open. |
Open the example CDF file, and then get basic information about the file:
cdfId = cdflib.open('example.cdf');
info = cdflib.inquire(cdfId)
info =
encoding: 'IBMPC_ENCODING'
majority: 'ROW_MAJOR'
maxRec: 23
numVars: 5
numvAttrs: 1
numgAttrs: 3This function corresponds to the CDF library C API routines CDFinquireCDF and CDFgetNumgAttributes. 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.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |