[Flag,List] = chksstate(M,...)
[Flag,Discr,List] = chksstate(M,...)
M
[ model ] - Model object.Flag
[ true
| false
] - True if discrepancy between LHS and RHS is smaller than 'tolerance='
in each equation.
Discr
[ numeric ] - Discrancy between LHS and RHS evaluated for each equation at two consecutive times.
List
[ cellstr ] - List of equations in which the discrepancy between LHS and RHS is greater than 'tolerance='
.
'error='
[ true
| false
] - Throw an error if one or more equations do not hold.
'refresh='
[ true
| false
] - Refresh dynamic links before evaluating the equations.
'sstateEqtn='
[ true
| false
] - If false
, the dynamic model equations will be checked; if true
, the steady-state versions of the equations (wherever available) will be checked.
'tolerance='
[ numeric | getrealsmall()
] - Tolerance.
'warning='
[ true
| false
] - Display warnings produced by this function.