[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 ] - Discrepancies between LHS and RHS evaluated for each equation at two consecutive times, and returned as two column vectors.
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 fail to hold up to tolerance level.
'eqtn='
[ 'full'
| 'sstate'
] - Evaluate either full or steady-state equations on steady-state values.
'refresh='
[ true
| false
] - Refresh dynamic links before evaluating the equations.
'tolerance='
[ numeric | getrealsmall()
] - Tolerance level.
'warning='
[ true
| false
] - Display warnings produced by this function.