Products & Services Solutions Academia Support User Community Company

Learn more about MATLAB   

netcdf.getConstantNames - Return list of constants known to netCDF library

Syntax

val = netcdf.getConstantNames(param_name)

Description

val = netcdf.getConstantNames(param_name) returns a list of names of netCDF library constants, definitions, and enumerations. When these strings 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 learn about netCDF, see the information contained in the NetCDF C Interface Guide for version 3.6.2.

Examples

nc_constants = netcdf.getConstantNames

nc_constants = 

    'NC2_ERR'
    'NC_64BIT_OFFSET'
    'NC_BYTE'
    'NC_CHAR'
    'NC_CLOBBER'
    'NC_DOUBLE'
    'NC_EBADDIM'
    'NC_EBADID'
    'NC_EBADNAME'
    'NC_EBADTYPE'
		...

See Also

netCDF.getConstantNames

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS