The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

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!


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

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.