Remove and delete AUTOSAR architecture element
In an AUTOSAR architecture model, find, remove, and delete a software composition.
% Create AUTOSAR architecture model modelName = 'myArchModel'; archModel = autosar.arch.createModel(modelName); % Add a composition addComposition(archModel,'Sensors2'); % Find and destroy the composition composition = find(archModel,'Composition'); destroy(composition);
archElement— Architecture element
Component, composition, port, or connector element to remove and delete. The
argument is a component, composition, port, or connector handle returned by a previous