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!