getIndex
Get indices into ValueInfo and InitialValues
      properties
Description
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.
- getIndexfirst tries to match the- QualifiedNameproperty. If there are matches, then- getIndexreturns their indices.
- If there are no matches based on - QualifiedName, then- getIndextries to match the- Nameproperty. If there are matches, then- getIndexreturns their indices.
- If there are no matches based on - QualifiedNameor- Name, then- getIndexreturns- [].
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2012b