This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.


Return list of constants known to netCDF library


val = netcdf.getConstantNames(param_name)


val = netcdf.getConstantNames(param_name) returns a list of names of netCDF library constants, definitions, and enumerations. When these names, returned as character vectors, are supplied as actual parameters to MATLAB® netCDF package functions, the functions automatically convert the constant to the appropriate numeric value.

This MATLAB function has no direct equivalent in the netCDF C interface. To find out more about netCDF, see netcdf.


nc_constants = netcdf.getConstantNames

nc_constants = 

Was this topic helpful?