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

回答 (1 件)

Arkadiy Turevskiy
Arkadiy Turevskiy 2015 年 1 月 5 日

0 投票

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

1 件のコメント

Andrea
Andrea 2015 年 1 月 6 日
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.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeGet Started with Optimization Toolbox についてさらに検索

質問済み:

2015 年 1 月 5 日

コメント済み:

2015 年 1 月 6 日

Community Treasure Hunt

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

Start Hunting!

Translated by