Main Content

cdflib.getConstantNames

Names of Common Data Format (CDF) library constants

Syntax

names = cdflib.getConstantNames

Description

names = cdflib.getConstantNames returns a cell array of character vectors, where each character vector is the name of a constant known to the Common Data Format (CDF) library.

Examples

Get a list of the names of CDF library constants.

names = cdflib.getConstantNames;
firstTenNames = names(1:10)
firstTenNames =

  10×1 cell array

    {'AHUFF_COMPRESSION' }
    {'ALPHAMVSD_ENCODING'}
    {'ALPHAMVSG_ENCODING'}
    {'ALPHAMVSI_ENCODING'}
    {'ALPHAOSF1_ENCODING'}
    {'BACKWARDFILEOFF'   }
    {'BACKWARDFILEON'    }
    {'CDF_BYTE'          }
    {'CDF_CHAR'          }
    {'CDF_DOUBLE'        }

Tips

  • This function is a MATLAB® utility function and does not correspond to any function in the CDF library C API.