how to solve undefined function nlmpc?
显示 更早的评论
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
If you don't have the MPC toolbox licenced, you can't use this function.
Taleb Bou Hamdan
2019-3-11
Torsten
2019-3-11
What output do you get if you type
ver
?
Taleb Bou Hamdan
2019-3-11
Torsten
2019-3-11
nlmpc was introduced in R2018b.
回答(1 个)
Saumya Goel
2019-3-20
0 个投票
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
类别
在 帮助中心 和 File Exchange 中查找有关 Nonlinear Systems 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!