Documentation

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.

cdflib.getConstantValue

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

Syntax

value = cdflib.getConstantValue(constantName)

Description

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

Examples

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 =

   3

Related Examples

References

For copyright information, see the cdfcopyright.txt file.

Was this topic helpful?