how to solve undefined function nlmpc?
Mostrar comentarios más antiguos
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 comentarios
Torsten
el 11 de Mzo. de 2019
If you don't have the MPC toolbox licenced, you can't use this function.
Taleb Bou Hamdan
el 11 de Mzo. de 2019
Torsten
el 11 de Mzo. de 2019
What output do you get if you type
ver
?
Taleb Bou Hamdan
el 11 de Mzo. de 2019
Torsten
el 11 de Mzo. de 2019
nlmpc was introduced in R2018b.
Respuestas (1)
Saumya Goel
el 20 de Mzo. de 2019
0 votos
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
Categorías
Más información sobre Nonlinear Systems en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!