MATLAB: OptimOptions and OutputFcn in Parameter Estimation

estimationoptimparameters

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.

Best Answer

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');