MATLAB: Does the documentation on the FMINSEARCH function fail to mention that it uses the “TolFun” parameter

docfminsearchMATLABoptionstolx

If I look at the results of typing
help fminsearch
the five options that FMINSEARCH accepts are displayed:
Display
TolX
TolFun
MaxFunEvals
MaxIter
However, when I look at the results of typing
doc fminsearch
it only mentions four of these five. The "TolFun" parameter is not listed as one that FMINSEARCH uses, but it is used.

Best Answer

This bug has been fixed for Release 14 SP1 (R14SP1). For previous releases, please read below for any possible workarounds:
This is an error within the documentation for FMINSEARCH within the
doc fminsearch
output. This has been forwarded to our documentation staff to be reviewed for a future release.
The documentation should explain that the FMINSEARCH function uses the following five optimization parameters:
Display
MaxFunEvals
MaxIter
TolFun
TolX
This list is correctly stated in the help for the FMINSEARCH function.