Main Content


Generate CDF (Calibration Data Format) file according to ASAM AE CDF standards

Since R2021a



coder.cdf.export(modelName) generates a CDF file for modelName.


coder.cdf.export(modelName,Name=Value) specifies additional options for CDF file creation with one or more Name, Value pair arguments. For example, you can specify a location where to save the CDF file.


collapse all

Generate a CDF file for the selected model and save it in the build folder of the model.

% Generate CDF file for model

Generate a CDF file for the selected model and save it with the custom name specified.

% Export CDF file and save it as

Generate a CDF file for the selected model and save it in the specified folder.

% Export CDF file to specified path

Generate a CDF file of the specified schema type for the selected model.

% Export CDF file with dtd schema type

Input Arguments

collapse all

Name of the model.

Example: 'MyModel','nav_app'

Name-Value Arguments

Specify optional pairs of arguments as Name1=Value1,...,NameN=ValueN, where Name is the argument name and Value is the corresponding value. Name-value arguments must appear after other arguments, but the order of the pairs does not matter.

Before R2021a, use commas to separate each name and value, and enclose Name in quotes.

Example: Folder='/home/applications' generate a CDF file for the model and saves it in a specified folder.

Full path to a folder in which to place an exported CDF file.

Example: Folder='/home/temp/prjct/'

Name for the CDF file to save it as in the folder.

Example: FileName='test_car'

Schema type for the CDF file can be XSD (XML Schema Definition) or DTD (Document Type Definition).

Example: SchemaType='DTD'

Version History

Introduced in R2021a