User`s guide

fitoptions
4-107
opts = fitoptions('ltype') creates a default fit options object for the
library or custom fit type specified by
ltype. You can display the library model,
interpolant, and smoothing spline names with the
cflibhelp function.
opts = fitoptions('ltype','PropertyName',PropertyValue,...) creates
a fit options object for the specified library fit type, and with the specified
property names and property values. Note that you can specify
PropertyName
or
PropertyValue without regard to case, and you can make use of name
completion by supplying the minimum number of characters that uniquely
identify the string.
opts = fitoptions('method',value) creates a default fit options object for
the fitting method specified by
value. A complete list of supported fitting
methods is given below.
opts = fitoptions('method',value,'PropertyName',PropertyValue,...)
creates a default fit options object for the specified fitting method, and with the
specified property names and property values.
opts = fitoptions(opts,'PropertyName',PropertyValue,...) modifies
the existing fit options object with the specified property names and property
values.
opts = fitoptions(opts,newopts) combines the existing fit options object
opts with a new fit options object newopts. If both objects have the same
Method value, the nonempty properties in newopts override the corresponding
properties in
opts. If the objects have different Method values, the output object
will have the same
Method as opts, and only the Normalize, Exclude, and
Weights properties of newopts will override the corresponding properties in
opts.
Remarks To display the possible fit options property values, use the set function.
set(opts)
To display the current fit options property values, use the get function.
get(opts)
Note that you can configure or display a single property value using the dot
notation. See below for an example.