Main Content

cdflib.setFileBackward

Specify backward compatibility mode

    Description

    cdflib.setFileBackward(bcMode) sets the backward compatibility mode for new file creation.

    example

    Examples

    collapse all

    Set the backward compatibility mode and then check its value.

    cdflib.setFileBackward("BACKWARDFILEon")
    bcMode = cdflib.getFileBackward
    bcMode =
    
        'BACKWARDFILEon'
    

    Input Arguments

    collapse all

    Backward compatibility mode, specified as "BACKWARDFILEoff" or "BACKWARDFILEon".

    Data Types: string | char

    More About

    collapse all

    Tips

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

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

    Version History

    Introduced in R2011a