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.


Library validation mode


mode = cdflib.getValidate()


mode = cdflib.getValidate() returns the validation mode of the Common Data Format (CDF) library.

Output Arguments


Either of the following text strings or its numeric equivalent.

'VALIDATEFILEon'Validation mode is on. For information about validation mode, see cdflib.setValidate.
'VALIDATEFILEoff'Validation mode is off.

To get the numeric equivalent of these text strings, use cdflib.getConstantValue.


Determine the current validation mode of the CDF library.

mode = cdflib.getValidate()

mode =


Related Examples


This function corresponds to the CDF library C API routine CDFgetValidate.

To use this function, you must be familiar with the CDF C interface. Read the CDF documentation at the CDF website.

For copyright information, see the cdfcopyright.txt file.

Was this topic helpful?