Delete unmapped AUTOSAR components from model
After importing AUTOSAR information from ARXML files and configuring a model for AUTOSAR, remove atomic software components that were imported but are not mapped to the model. This prevents unmapped components from being exported back to ARXML.
arProps = autosar.api.getAUTOSARProperties('my_autosar_model'); deleteUnmappedComponents(arProps);
arProps— AUTOSAR properties information for a model
AUTOSAR properties information for a model, previously returned by
is a handle,
character vector, or string scalar representing the model name.