Skip to Main Content Skip to Search
Product Documentation

cdflib.setFileBackward - Set backward compatibility mode

Syntax

cdflib.getFileBackward(mode)

Description

cdflib.getFileBackward(mode) sets the backward compatibility mode to the value specified by mode.

Tips

Input Arguments

mode

One of the following text strings:

BACKWARDFILEonSet backward compatibility mode on.
BACKWARDFILEoffSet backward compatibility mode off.

Default: BACKWARDFILEoff

Definitions

backward compatibility mode

When specified, ensures that any new CDF file created using CDF V3.0 (or later) will be readable by clients using version 2.7 of the CDF library. CDF 3.0 and later releases use a 64-bit file offset to allow for files greater than 2G bytes in size. CDF library versions released before CDF 3.0 use a 32-bit file offset.

Examples

Set backward compatibility mode and then check the value.

cdflib.setFileBackward('BACKWARDFILEon');

mode = cdflib.getFileBackward

mode =

BACKWARDFILEon

References

This function corresponds to the CDF library C API routine CDFsetFileBackward. To use this function, 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.getFileBackward

Tutorials

  


» Learn more
» Download free kit
» Get trial software

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