find
Find architecture model elements using query
Syntax
Description
[
finds all element paths starting from the root architecture of the model that satisfy the
paths] = find(model,constraint,Name=Value)constraint query, with additional options specified by one or more
name-value arguments.
[
returns the component elements paths, elements] = find(___)elements and their
paths that satisfy the constraint query. Follow
the syntax above for input arguments. 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 elements] = find(___)elements, that satisfy the
constraint query, with additional options specified by one or more
name-value arguments, which must include 'Port' or
'Connector' for 'ElementType'.
[
finds all element paths starting from the specified root architecture
paths] = find(model,constraint,rootArch,Name=Value)rootArch that satisfy the constraint query, with
additional options specified by one or more name-value arguments.
Examples
Input Arguments
Name-Value Arguments
Output Arguments
More About
Version History
Introduced in R2019a