getIndex
Get indices into ValueInfo
and InitialValues
properties
Description
returns the indices of all indices
= getIndex(model
,name
)ValueInfo
objects in a
SimBiology.export.Model
object that have a
QualifiedName
or Name
property that match the
specified name
input argument.
getIndex
first tries to match theQualifiedName
property. If there are matches, thengetIndex
returns their indices.If there are no matches based on
QualifiedName
, thengetIndex
tries to match theName
property. If there are matches, thengetIndex
returns their indices.If there are no matches based on
QualifiedName
orName
, thengetIndex
returns[]
.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2012b