find
Syntax
Description
searches AUTOSAR component, composition, or architecture model archElements
= find(archCCM
,category
)archCCM
for architecture elements that match the specified category. The
archElements
output argument returns handles for the architecture
elements found. Valid values for category
are
Component
, Composition
, Port
, or
Connector
. The archCCM
argument is a component,
composition, or architecture model handle returned by a previous call to
addComponent
, addComposition
,
autosar.arch.createModel
, or
autosar.arch.loadModel
. The default scope of
find
is the top level of the specified composition or architecture
model, not all levels of the model hierarchy.
allows you to extend the search for AUTOSAR architecture elements to all levels of an
AUTOSAR composition or architecture model hierarchy. To search all levels, specify
archElements
= find(archCCM
,category
,'AllLevels',value
)value
as true
.
specifies a constraining value on a property of the specified category of elements,
narrowing the search.archElements
= find(archCCM
,category
,property,value
)
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2020a