Optimization process in matlab and simulink

1 view (last 30 days)
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?

Accepted Answer

Alan Weiss
Alan Weiss on 6 Aug 2018
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

More Answers (0)

Categories

Find more on Manual Performance Optimization in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!