Equation Block

Equation Block

The Equation block allows users to specify simple functions with valid SymPy statements. The syntax for supported SymPy expressions is fairly limited at the moment. Mostly, this provides an easy way to write a one-line equation of multiple variables.

As indicated by the inport labels, each signal into the block is referenced as x[i] in the Expression, where i is the inport number (starting with 1).


  • Expression (default = x1**2.0 + 1): Symbolic math equation to execute.


Equation Example