Why can't I change the number of search iterations using the Pattern search method and then generate MATLAB Code?

1 次查看(过去 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 个)

类别

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