| Contents | Index |
stype = cdflib.getVarSparseRecords(cdfId,varNum)
stype = cdflib.getVarSparseRecords(cdfId,varNum) returns information about how a variable in the Common Data Format (CDF) file handles sparse records.
cdfId |
Identifier of a CDF file, returned by a call to cdflib.create or cdflib.open. |
varNum |
Numeric value that identifies the variable. Variable numbers are zero-based. |
Open the example CDF, and then get the sparse record type of a variable in the file:
cdfid = cdflib.open('example.cdf');
stype = cdflib.getVarSparseRecords(cdfid,0)
stype =
NO_SPARSERECORDS
%Clean up
cdflib.close(cdfid);
clear cdfid
This function corresponds to the CDF library C API routine CDFgetzVarSparseRecords. 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 |