.. highlightlang:: us .. index:: NC_GetVarAttribs .. _nc_getvarattribs: NC_GetVarAttribs ================ .. us.tag NC_GetVarAttribs ENGLISH nc.tools New2015.4 :ref:`NC_GetVarNames` returns a sgtring matrix with channel attribute values. .. function:: smValues = NC_GetVarAttribs(ncids, varids, svAttribs) smValues = NC_GetVarAttribs(ssNCName, varids, svAttribs) smValues = NC_GetVarAttribs(ncids, svVarNames, svAttribs) smValues = NC_GetVarAttribs(ssNCName, svVarNames, svAttribs) .. us.return **Return Value** Is a matrix with channel attribute values. Real values will be converted to strings. .. us.params **Parameters** .. uparam:: ssNCName *ssNCName* is the name of the netCDF file. .. uparam:: ncid Identifies the netCDF file, see :ref:`nc_open`. .. uparam:: varids *varids* is a vector with channel ids. .. uparam:: svVarNames *svVarNames* is a vector with channel names. .. uparam:: svAttribs *svAttribs* is a vector with channel attribute names. If an attribute does not exist an empty string is returned. .. us.history **History** .. list-table:: :header-rows: 1 * - Version - Description * - R2015.4 - New. .. seealso:: :ref:`overview-netcdf-files`, :ref:`nc_create`, :ref:`DialogBox`, :ref:`CreateListBoxText`, :ref:`NC_GetVarNames` :sub:`id-989007`