I cannot get the method documented in "Specify Independent Parameters for Optimization" to work
Show older comments
I am trying to implement the method in the "Specify Independent Parameters for Optimization" section in this documentation: https://se.mathworks.com/help/sldo/ug/specify-parameters-to-optimize-gui.html , but after some testing I can't get it to work. I followed the example, but Kint does not change its value at all between iterations.
Answers (1)
Samay Sagar
on 25 Apr 2024
0 votes
Based on my understanding, the issue you are encountering is because “Kint” is calculated in the Init script without linking to the Simulink model's execution. Hence it will not update during the optimization process. To dynamically update “Kint”, consider implementing it directly within the Simulink model or using a MATLAB Function block that takes “x” and “y” as inputs and outputs “Kint”.
Hope this helps.
Categories
Find more on Parameter Estimation 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!