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?

 采纳的回答

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 Exchange 中查找有关 Manual Performance Optimization 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by