Skip to Main Content Skip to Search
Product Documentation

cdflib.getValidate - Library validation mode

Syntax

mode = cdflib.getValidate()

Description

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

Output Arguments

mode

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.

Examples

Determine the current validation mode of the CDF library.

mode = cdflib.getValidate()

mode =

'VALIDATEFILEon'

References

This function corresponds to the CDF library C API routine CDFgetValidate. To use these functions, you must be familiar with the CDF C interface. Read the CDF documentation at the CDF Web site. For copyright information, see the cdfcopyright.txt file.

See Also

cdflib.getConstantValue | cdflib.setValidate

Tutorials

  


» Learn more
» Download free kit
» Get trial software

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