Optimization process in matlab and simulink

Hello, Guys! I'm a beginner matlab user, and i'm trying to start learning optimization in matlab. At the moment i have matlab model of electric vehicle built in simulink, and i want to optimize its speed profile to minimize overall enerqy consumption. As i understand, i cannot optimize it in simulink, and i need to build model in matlab from main equations. I have read existing articles about my problem, and found out that i can use fmincon in optimization toolbox, to solve it. Could you answer me, do i need to built model in matlab or there are ways to optimize my model in simulink?

 採用された回答

Alan Weiss
Alan Weiss 2018 年 8 月 6 日

0 投票

There are several examples showing optimization of a Simulink model:
I hope that you will be able to generalize from these examples.
Alan Weiss
MATLAB mathematical toolbox documentation

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeManual Performance Optimization についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by