Main Content

autosar.api.delete

Delete AUTOSAR properties and mapping for Simulink model

Description

example

autosar.api.delete(model) deletes AUTOSAR properties and Simulink® to AUTOSAR mapping for model. The resulting model does not represent and map an AUTOSAR software component.

Examples

collapse all

Delete AUTOSAR properties and Simulink to AUTOSAR mapping for a model.

hModel = 'autosar_swc_counter';
addpath(fullfile(matlabroot,'/examples/autosarblockset/main'));
open_system(hModel);
autosar.api.delete(hModel);

Input Arguments

collapse all

Model for which to delete AUTOSAR properties and Simulink to AUTOSAR mapping, specified as a handle, character vector, or string scalar representing the model name.

Example: 'my_model'

Introduced in R2017b