diff --git a/README.md b/README.md index 62c3ad990..b35894ded 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ Our goal is controlling the first output $y_1$, but the second one $y_2$ should 35: ```julia -mhe = MovingHorizonEstimator(mode) +mhe = MovingHorizonEstimator(model) mpc = LinMPC(mhe, Mwt=[1, 0], Nwt=[0.1]) mpc = setconstraint!(mpc, ymax=[Inf, 35]) ```