Why can't I change the number of search iterations using the Pattern search method and then generate MATLAB Code?
3 次查看(过去 30 天)
显示 更早的评论
I am trying to generate code for a parameter estimation. This worked fine for a several times. My approach is to set up the experiment and choose the parameters using the Parameter Estimation GUI in Simulink Design Optimization. Under "More Options" and then "Optimization Options" I choose the wanted optimization method and make other relevant settings. The code generation works fine for the nonlin squares method. Even if i choose the Pattern Search method and only change the tolelrances and maximum iteration number, the code is generated. But as soon as the iteration limit for the search method "latin hypercube" is changed from the default value (3), the code generation throws an "unexpected error occured" -message.
Is it possible to leave the value at 3, generate the code and then change the value in the code, afterwards? If yes, how can this be done?
Thanks in advance. Regards -Fabian
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Design Optimization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!