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.


Numeric value corresponding to Common Data Format (CDF) library constant


value = cdflib.getConstantValue(constantName)


value = cdflib.getConstantValue(constantName) returns the numeric value of the CDF library constant specified by the character vector constantName. To see a list of constant names, use cdflib.getConstantNames.


View the list of CDF library constants and get the numeric value corresponding to one of the constants.

% Retrieve a list of library constants
names = cdflib.getConstantNames();

value  = cdflib.getConstantValue(names{1})

value =



For copyright information, see the cdfcopyright.txt file.

Was this topic helpful?