How to write StateFcn in Nonlinear MPC Controller
이전 댓글 표시
Nowdays, I am doing some works about visual servoing. But there are some troubles with the nonlinear MPC Controller. I have read the example named 'Control Quadruple-Tank Using Passivity-Based Nonlinear MPC'. There is a code nlobj.Model.StateFcn = "stateFcnQuadrupleTank".
I opened it, and the content shows as a picture as follows. It looks like the example uses code to express the dynamic system. I want to know if I can use a Simulink model, which is already done, to replace the code.
Thank a lot for your help!

채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Nonlinear MPC Design에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!