Main Content

coder.cdf.export

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

Since R2021a

Description

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

example

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.

example

Examples

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
coder.cdf.export('modelName')

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

% Export CDF file and save it as
coder.cdf.export('modelName',FileName='test_car')

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

% Export CDF file to specified path
coder.cdf.export('modelName',Folder='/home/temp/workspace/')

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

% Export CDF file with dtd schema type
coder.cdf.export('modelName',SchemaType='DTD')

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