OptimOptions and OutputFcn in Parameter Estimation

2 次查看(过去 30 天)
Hi all, In the documentation it says the OptimOptions for an Estimation object of the ParameterEstimation package is the same as the optimset structure. The optimset structure contains an OutputFcn property that is called at each iteration of the optimization. Yet when I try to set the OutputFcn property of the Estimation, I receive the error: "There is no 'OutputFcn' property in the 'OptimOptions' class." which seemingly contradicts the documentation. Any help? Or is there another way to call a function at each iteration of the estimation when it is run? I'm simply trying to see the values of the estimated parameters at each iteration.

采纳的回答

Alec Stothert
Alec Stothert 2011-5-27
Thank you for your feedback regarding the ParameterEstimation OptimOptions and OutputFcn. The help should indicate that the OptionOptions is a subset of the optimset structure. We will update the help to reflect this.
The command-line ParameterEstimation functionality does not support access to the parameter values during optimization. Plotting the parameter values during optimization can only be done via the Estimation GUI, see for example,
>> showdemo('spe_engine_throttle');

更多回答(0 个)

类别

Help CenterFile 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!

Translated by