Method of mss.
Test whether both equation index vectors of the model hold a single row.
Source: src/model/@mss/allEquationScalarIndices.m
result = allEquationScalarIndices(sys)allEquationScalarIndices returns true only
when both equation index vectors — stateEquationIndex and
outputEquationIndex — are scalars.
It is a predicate helper used by the mss constructor, not
something the user normally calls.
Note: The two scalars are ambiguous, they can either be
genuine one-row index vectors, or the counts
amountStateEquation / amountOutputEquations
written in positional form. The constructor resolves the ambiguity by
combining this predicate with a size check against the parameter matrix
— if the two scalars add up to the number of parameter-matrix rows, they
are counts and are expanded into the sequential index vectors.
| Argument | Description |
|---|---|
sys |
The mss model. |
| Output | Description |
|---|---|
result |
Logical scalar, true if stateEquationIndex
and outputEquationIndex are both scalar. |
mss · allSignalScalarIndices
· checkIndexDimensions
MyToolbox Documentation | Generated automatically by CI/CD pipeline