functionpiecewise

Piecewise function that corresponds to the SBML piecewice definition

Inputs

TypeNameDefaultDescription
RealvalueInput values in the form {value1,value2,...,valueN,valueN+1}.
BooleanconditionInput conditions in the form {condition1,condition2,...,conditionN}. Not more than one condition is allowed to be true at any given time.

Outputs

TypeNameDefaultDescription
RealyOutput value selected from the list of inputs.