Main Content

createManifest

Create manifest file for AUTOSAR adaptive model

Description

example

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.

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.

addpath(fullfile(matlabroot,'/examples/autosarblockset/main'));
hModel = 'autosar_LaneGuidance';
open_system(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

Introduced in R2021a