options = optimset()
options = optimset(name, value)
options = optimset(oldopts, name, value)
| Parameter | Description |
|---|---|
| name, value | option name and value pairs. |
| oldopts | existing option structure. |
| Parameter | Description |
|---|---|
| options | option structure. |
optimset creates a structure accepted by the direct solvers in this module. Option names support unambiguous abbreviations.
opts = optimset('TolX', 1e-8, 'Display', 'off')
tol = optimget(opts, 'TolX')
| Version | Description |
|---|---|
| 2.0.0 | initial version |