Main Content

createManifest

Create manifest file for AUTOSAR adaptive model

Since R2021a

Description

createManifest(arProps) creates an execution manifest JSON file for the adaptive application. The manifest file modifies the default logging behavior of the adaptive application Linux® executable, providing properties such as the logging mode and verbosity level.

example

Examples

collapse all

Call the autosar.api.getAUTOSARProperties function to create object arProps, which represents AUTOSAR properties information for the model autosar_LaneGuidance. Use the returned object to create an execution manifest JSON file for the specified adaptive model.

hModel = 'autosar_LaneGuidance';
openExample(hModel);
arProps = autosar.api.getAUTOSARProperties(hModel);
createManifest(arProps);

Input Arguments

collapse all

AUTOSAR properties information for a model, previously returned by arProps = autosar.api.getAUTOSARProperties(model). The parameter model is a handle, character vector, or string scalar representing the model name.

Example: arProps

Data Types: function_handle

Version History

Introduced in R2021a