Curve Fitting Toolbox | ![]() ![]() |
Configure or display property values for a fit options object
Syntax
Arguments
Description
set(opts)
displays all configurable property values for the fit options object opts
. If a property has a finite list of possible string values, these values are also displayed.
a = set(opts)
returns all configurable properties and their possible values for opts
to the structure a
. The field names of a
are the property names of opts
, and the field values are cell arrays of possible property values. If the property does not have a finite set of possible values, the cell array is empty.
set(opts,'
configures multiple property values with a single command.PropertyName
',PropertyValue,...)
set(opts,PN,PV)
configures the properties specified in the cell array of strings PN
to the corresponding values in the cell array PV
.
set(opts,S)
configures the named properties to the specified values for opts
. The structure S
has field names given by the fit options object properties, and the field values are the values of the corresponding properties.
Example
Create a custom nonlinear model, and create a default fit options object for the model.
Configure the Robust
and Normalize
properties using property name/property value pairs.
Configure the Display
, Lower
, and Algorithm
properties using cell arrays of property names and property values.
See Also
![]() | predint | smooth | ![]() |