Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: minimize cost function in simulink
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Nurul Mohd

Posts: 4
Registered: 10/11/12
minimize cost function in simulink
Posted: Feb 5, 2013 7:36 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi, anyone know how to compute the minimize cost function for solved the control input contrained on my MPC in simulink? btw, my mpc is designed via C-mex file so that it can be simulated and also can be directly execute with my hardware (pilot scale-plant).

But, i need to put constraint since my actuator on my plant is limited from 0-10V. However, I can't find any example how to solve it because most optim tools in in m.file.

currently, i've tried to connect output from MPC to embedded matlab editor (which is contain quadprog coding to optimized the MPC output ) but got an error. I'm not sure is it ok to do that or maybe have any other way?

Thanks in advanced!

Nurul



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.