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 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