pwSetOptimizer


 oldValue = pwSetOptimizer(optimizer, showInfo)

 Sets the optimizer. Possible values:
 1 or 'linesearch'
 2 or 'trustregion'
 3 or 'genetic'
 4 or 'annealing'
 5 or 'smarquardt'
 6 or 'ssmlsqnonlin'
 7 or 'ssmdn2fb'

 Returns the number of the currently used optimizer (before setting
 to the new optimizer).

 If showInfo == true, information about the changed optimizer
 is displayed in the command window. Default = true.

See also

pwFit