Information about how variable handles sparse records
stype
= cdflib.getVarSparseRecords(cdfId,varNum)
returns information about how a variable in the Common Data Format
(CDF) file handles sparse records.stype
= cdflib.getVarSparseRecords(cdfId,varNum)
|
Identifier of a CDF file, returned by a call to |
|
Numeric value that identifies the variable. Variable numbers are zero-based. |
|
One of the following character vectors, or its numeric equivalent, that specifies how the variable handles sparse records.
To get the numeric equivalent of the constants specified by
these character vectors, use |
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 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.