MATLAB: In the function fit, what exactly is the difference between the 2 parameters MaxFunEvals & MaxIter

curve fittingCurve Fitting Toolboxmatlab function

In the function fit(Curve Fitting Toolbox), what exactly is the difference between the 2 parameters MaxFunEvals & MaxIter?

Best Answer

If you had to walk through an unfamiliar darkened room and you had a stick, you might tap the ground in front of you, in front and to the left, and in front and to the right to determine where the path is clear. Once you know the direction where it's safe to move, you take a step and repeat the process of tapping and stepping.
Tapping the ground is a function evaluation. Stepping is an iteration. One step (iteration) may require multiple taps (function evaluations) to complete.