필터 지우기
필터 지우기

Optimize parameters from a Simulink Modell

조회 수: 3 (최근 30일)
Daniel
Daniel 2022년 12월 13일
답변: Sabin 2022년 12월 16일
Hello,
i need to optimize the parameters of a Simulink model with some real data from matlab. My approach was to develop a function handle in a matlab script, where the parameters of the simulink model are inserted. After running the simulation in matlab, the function calculates the mean squear error of the simulation data and real data. With fminsearch i try to minimize the MSE with initial parameters for the model. Unfortnetly the result of fminsearch ist very innacurate.
Do you know maybe another way, how i can optimize the parameters of a Simulink modell? i don't have the Simulink Design Optimization Toolbox.
Thank you in Advance

채택된 답변

Sabin
Sabin 2022년 12월 16일
Without Optimization Toolbox, fminsearch is probably your best bet. Depending how your model is structured might make sense to use several steps to optimize the parameters. For some similar approaches check the following examples from Simscape Electrical:

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Design Optimization에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by