Class: SimBiology.export.Model
Get indices into ValueInfo
and InitialValues
properties
indices = getIndex(model,name)
indices = getIndex(model,name,type)
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 the QualifiedName
property.
If there are matches, then getIndex
returns their
indices.
If there are no matches based on QualifiedName
,
then getIndex
tries to match the Name
property.
If there are matches, then getIndex
returns their
indices.
If there are no matches based on QualifiedName
or Name
,
then getIndex
returns []
.
returns
indices for only the indices
= getIndex(model
,name
,type
)ValueInfo
objects with a Type
property
that matches the type
input argument.
|
|
|
Character vector containing a name to match against the |
|
Character vector containing a name to match against the Default: All types. |
|
Vector of indices indicating which |