Find architecture elements using query
[
finds all element paths starting from the root architecture of the model that satisfy the
paths
] = find(object
,constraint
,Name,Value
)constraint
query, with additional options specified by one or more
name-value pair arguments.
[
returns the component paths
, elements
] = find(___)elements
and their paths
that satisfy the constraint
query. If rootArch
is
not provided, then the function finds model elements in the root architecture of the model.
The output argument paths
contains a fully qualified named path for
each component in elements
from the given root architecture.
[
finds all
component, port, or connector elements
] = find(___)elements
that satisfy the
constraint
query, with additional options specified by one or more
name-value pair arguments, which must include 'Port'
or
'Connector'
for 'ElementType'
.
[
finds all element paths starting from the specified root architecture that satisfy the
paths
] = find(object
,constraint
,rootArch
,Name,Value
)constraint
query, with additional options specified by one or more
name-value pair arguments.