FMINCON For NMPC question

I want to model a NMPC with fmincon.
My problem is that I have some constraints for the actuator(which is fmincon 's output) , but I have also constraints for the state. How can I pass the state constraints? x is the state and u is the input(actuator). Can I only pass u constaraints with fmincon?
Thank you in advance.

Answers (0)

Categories

Asked:

on 2 May 2021

Community Treasure Hunt

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

Start Hunting!