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?

 Akzeptierte Antwort

Alan Weiss
Alan Weiss am 6 Aug. 2018

0 Stimmen

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

Weitere Antworten (0)

Kategorien

Mehr zu Manual Performance Optimization finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by