Main Content

cdflib.getValidate

Library validation mode

Syntax

vmode = cdflib.getValidate

Description

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

Output Arguments

vmode

Validation mode, returned as one of these character vectors.

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

To get the numeric equivalent of the constants specified by these character vectors, use cdflib.getConstantValue.

Examples

collapse all

vmode = cdflib.getValidate
vmode = 
'VALIDATEFILEon'

Tips

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

  • To use this function, you must be familiar with the CDF C interface. You can access the CDF documentation at the CDF website.