Global Optimization Problem with Simulink

Hello. I created a program in simulink with a PID and I have to minimize the error modifying its parameters. This error is a vector of size 20001 * 1.
There is some block that I can use?
Or do I have to create a function in Matlab? In this case my objective function as the express? The carrier is not good, gives me error
Thank you

Réponses (1)

Arkadiy Turevskiy
Arkadiy Turevskiy le 5 Jan 2015

0 votes

You can use Simulink Design Optimization for that.
Take a look at this example .

1 commentaire

Andrea
Andrea le 6 Jan 2015
Thanks, the example is perfect.
I figured out how to put constraints but the block optimization just can not find it and I can not change it.
Thanks for your help.

Connectez-vous pour commenter.

Catégories

Question posée :

le 5 Jan 2015

Commenté :

le 6 Jan 2015

Community Treasure Hunt

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

Start Hunting!

Translated by