Main Content

write

Export data of CDFX object to file

Description

write(cdfxObj) exports the data contents of the asam.cdfx object to the file specified by the Path property of the object.

write(cdfxObj,CDFXfile) exports the contents of the asam.cdfx object to the CDFX file specified by CDFXfile.

example

Examples

collapse all

Create an asam.cdfx object with data from a file, modify the data in the object, and write it out to a new file.

cdfxObj = cdfx('c:\DataFiles\AllCategories_VCD.cdfx');
setValue(cdfxObj,'VALUE_NUMERIC',55)
write(cdfxObj,'c:\DataFiles\AllCategories_NEW_VCD.cdfx')

Input Arguments

collapse all

CDFX file object, specified as an asam.cdfx object. Use the object to access the calibration data.

Example: cdfx()

Calibration data format (CDFX) file location, specified as a character vector or string. CDFXFile can specify the file name in the current folder, or the full or relative path to the CDFX file.

Example: 'ASAMCDFExample.cdfx'

Data Types: char | string

Version History

Introduced in R2019a

See Also

Functions