Cannot select parameters to estimate using Simulink design optimization

조회 수: 34 (최근 30일)
bit123
bit123 2020년 4월 5일
댓글: Ben 2024년 2월 20일
I have a Simulink model with 6 parameters of 6 gain blocks. I specified them as the Simulink parameters directly for each gain block in the model. I also specified 6 initial values for these parameters. Then, I used the parameter estimation function in the Simulink design optimization tool to estimate the 6 gain parameters following my input/output experiment data. But I could not select these parameters to estimate (the boxes next to the parameters could not be checked as in the attachment). I would appreciate if someone could advise me on this.
  댓글 수: 3
ALESSANDRO GENTILI
ALESSANDRO GENTILI 2021년 1월 21일
편집: ALESSANDRO GENTILI 2021년 1월 21일
I've found a solution for the Input Panel problem. I've simply added an input and output block (under sinks and sources), this way the Parameter Estimator can see the input.
Ben
Ben 2024년 2월 20일
THANK YOU!!!!!!!! Also fuck matlab

댓글을 달려면 로그인하십시오.

답변 (2개)

Farshid Naseri
Farshid Naseri 2022년 3월 25일
In the model explorer, Model workspace the parameters to be estimated should be selected as "Matlab Variable" not a "Simulink Parameter".

Michael
Michael 2022년 5월 24일
If using the "Simulink Parameter" type, the variable itself is not numeric; instead, the numeric value is in the "Value" field. You can use the accordion at the bottom of the "Select model variables" dialog to specify indexing expressions. For example, if the Simulink Parameter variable is called b, then you can type "b.Value" in the edit-field, and then hit the "Enter" key.

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by