Main Content

coder.cdf.export

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

Description

example

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.

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 Pair Arguments

Specify optional comma-separated pairs of Name,Value arguments. Name is the argument name and Value is the corresponding value. Name must appear inside quotes. You can specify several name and value pair arguments in any order as Name1,Value1,...,NameN,ValueN.

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'

Introduced in R2021a