Add an optimization algorithm to simulink
2 次查看(过去 30 天)
显示 更早的评论
how can I change this (fminsearch) optimizer to another optimization algorithm?
3 个评论
Walter Roberson
2022-4-23
Your diagram does not appear to include any optimization block. The block you circled looks to me as if it is a root finding block.
采纳的回答
Sam Chak
2022-4-23
Please follow the example here:
https://www.mathworks.com/help/physmod/sps/ug/battery-parameter-extraction-from-data.html#d123e30675
Find the m-file
edit ee_battery_opt_m
and you can copy the script and replace the fminsearch() function with your desired optimizer.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Get Started with Optimization Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!