*SolverVariable()

Creates a solver variable.

Syntax

*SolverVariable(varname, "label")

Arguments

varname
The variable name for the solver variable.
Data type: varname
"label"
The descriptive label for the solver variable
Data type: label

Example

*SolverVariable( sv_solvervariable, "Solver Variable" )
*SetSolverVariable( sv_solvervariable, 
 `7*DZ(marker1.id, marker2.id, marker2.id)` )

Context

*BeginMdl()

*DefineAnalysis()

*DefineSystem()

Comments

The solver variable can be used to create an algebraic expression of state variables as well as other solver variables. This can then be referenced in function expressions throughout the solver input file.