allSignalScalarIndices

Method of mdss.

Test whether every signal and equation index vector of the model holds a single row.

Source: src/model/@mdss/allSignalScalarIndices.m

Syntax

result = allSignalScalarIndices(sys)

Description

allSignalScalarIndices returns true only when all seven index vectors of the model are scalars: the signal indices stateDeltaIndex, stateIndex, inputIndex, algebraicIndex, binaryIndex and the equation indices equalityIndex, inequalityIndex. In that case each signal and equation block maps to exactly one row of the structure or parameter matrix. It is a predicate helper used internally and is not normally called directly.

Input arguments

Argument Description
sys The mdss model.

Output arguments

Output Description
result Logical scalar, true if all five signal index vectors and both equation index vectors are scalar.

See also

mdss · allEquationScalarIndices · checkIndexDimensions


MyToolbox Documentation | Generated automatically by CI/CD pipeline