Information about attribute
info = cdflib.inquireAttr(cdfId,attrNum)
info = cdflib.inquireAttr(cdfId,attrNum)
returns information about an attribute in a Common Data Format (CDF)
file.
|
Identifier of a CDF file, returned by a call to |
|
Numeric value that identifies the attribute in the file. Attribute numbers are zero-based. |
|
Structure containing the following fields.
|
Open the example CDF, and then get information about the first attribute in the file.
cdfid = cdflib.open('example.cdf'); % Get information about an attribute info = cdflib.inquireAttr(cdfid,0) info = name: 'SampleAttribute' scope: 'GLOBAL_SCOPE' maxgEntry: 4 maxEntry: -1 % Clean up cdflib.close(cdfid); clear cdfid
This function corresponds to the CDF library C API routine CDFinquireAttr
.
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.