We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
LinModel
1 parent 5606424 commit 4103245Copy full SHA for 4103245
src/model/linmodel.jl
@@ -150,7 +150,8 @@ function LinModel(
150
sysu = sminreal(sys[:,i_u]) # remove states associated to measured disturbances d
151
sysd = sminreal(sys[:,i_d]) # remove states associated to manipulates inputs u
152
if !iszero(sysu.D)
153
- error("State matrix D must be 0 for columns associated to manipulated inputs u")
+ error("LinModel only supports strictly proper systems (state matrix D must be 0 "*
154
+ "for columns associated to manipulated inputs u)")
155
end
156
if iscontinuous(sys)
157
isnothing(Ts) && error("Sample time Ts must be specified if sys is continuous")
0 commit comments