Main Content
hasValue
Find if element instance has property value
Description
queries whether the instance result
= hasValue(instance
,property
)instance
has the given property
property
.
Note
This function is part of the instance programmatic interfaces that you can use to analyze
the model iteratively, element-by-element. The instance
refers to the
element instance on which the iteration is being performed.
Examples
Input Arguments
Output Arguments
More About
Version History
Introduced in R2019a
See Also
Tools
Functions
instantiate
|iterate
|lookup
|save
|update
|refresh
|systemcomposer.analysis.loadInstance
|systemcomposer.analysis.deleteInstance
|getValue
|setValue
|getParameter
|getEvaluatedParameterValue
|getParameterNames
|getParameterValue
|setParameterValue
|isArchitecture
|isComponent
|isConnector
|isPort
|getQualifiedName