how to solve undefined function nlmpc?

10 ビュー (過去 30 日間)
Taleb Bou Hamdan
Taleb Bou Hamdan 2019 年 3 月 11 日
回答済み: Saumya Goel 2019 年 3 月 20 日
dI am trying to model a nonlinear model predictive control and tthe following error occurs:
>> nlobj=nlmpc(nx,nu,nu);
Undefined function or variable 'nlmpc'.
how can i download this function?
  5 件のコメント
Torsten 2019 年 3 月 11 日
nlmpc was introduced in R2018b.


回答 (1 件)

Saumya Goel
Saumya Goel 2019 年 3 月 20 日
As per the "ver" output, you are using MATLAB R2018a, and the Nonlinear model predictive controller function -"nlpmc" was introduced in MATLAB R2018b. For more details you can refer to this link: Nonlinear model predictive controller




Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by