stringParser

Utility class whose static methods parse equations into mdss models.

Source: src/utilities/@stringParser/

Description

stringParser turns human-written equations into an mdss object, building the structure and parameter matrices and the signal index vectors automatically. The three static methods form a pipeline:

symbolicToMdss  →  polynomialToMdss  →  stringToMdss

Across all three, variable roles are named by a symbol list in the order [stateDelta, state, input, algebraic, binary], default ["xp","x","u","y","z"]. Any token that is not one of the role symbols is treated as a parameter, and inequalities (>=, <=) become inequality rows.

Methods

Method Description
symbolicToMdss Build an mdss model from symbolic or string equations.
polynomialToMdss Build an mdss model from polynomial strings, clearing fractions and reducing integer powers.
stringToMdss Assemble an mdss model from expanded polynomial equation strings.

See also

mdss · symbolicUtilities


MyToolbox Documentation | Generated automatically by CI/CD pipeline