NC_GetVarAttribsΒΆ

NC_GetVarNames returns a sgtring matrix with channel attribute values.

smValues = NC_GetVarAttribs(ncids, varids, svAttribs)
smValues = NC_GetVarAttribs(ssNCName, varids, svAttribs)
smValues = NC_GetVarAttribs(ncids, svVarNames, svAttribs)
smValues = NC_GetVarAttribs(ssNCName, svVarNames, svAttribs)

Return Value

Is a matrix with channel attribute values. Real values will be converted to strings.

Parameters

ssNCName

ssNCName is the name of the netCDF file.

ncid

Identifies the netCDF file, see nc_open.

varids

varids is a vector with channel ids.

svVarNames

svVarNames is a vector with channel names.

svAttribs

svAttribs is a vector with channel attribute names. If an attribute does not exist an empty string is returned.

History

Version Description
R2015.4 New.

id-989007