Create or modify optimization options structure
returns options
= optimset(Name,Value
)options
with specified parameters set using one or more
name-value pair arguments.
optimset
(with no input or output arguments) displays a
complete list of parameters with their valid values.
(with no input
arguments) creates an options structure options
= optimsetoptions
where all
parameters are set to []
.
creates a copy of options
= optimset(oldopts
,Name,Value
)oldopts
and modifies the specified parameters
using one or more name-value pair arguments.
optimset
sets options for the four MATLAB® optimization solvers: fminbnd
, fminsearch
, fzero
, and lsqnonneg
. To set options for
Optimization
Toolbox™ or Global Optimization
Toolbox solvers, the recommended function is optimoptions
.
optimset
cannot set options for some Optimization
Toolbox solvers, such as intlinprog
. Use optimoptions
instead.
optimset
cannot set most options for Global Optimization
Toolbox solvers. Use optimoptions
instead.
fminbnd
| fminsearch
| fzero
| lsqnonneg
| optimget
| optimoptions