odeset [odepkg]
— Function File: [odestruct] = odeset ()
— Command: [odestruct] = odeset ("field1", value1, "field2", value2, ...)
— Command: [odestruct] = odeset (oldstruct, "field1", value1, "field2", value2, ...)
— Command: [odestruct] = odeset (oldstruct, newstruct)

If this function is called without an input argument then return a new OdePkg options structure array that contains all the necessary fields and sets the values of all fields to default values.

If this function is called with string input arguments "field1", "field2", ... identifying valid OdePkg options then return a new OdePkg options structure with all necessary fields and set the values of the fields "field1", "field2", ... to the values value1, value2, ...

If this function is called with a first input argument oldstruct of type structure array then overwrite all values of the options "field1", "field2", ... of the structure oldstruct with new values value1, value2, ... and return the modified structure array.

If this function is called with two input argumnets oldstruct and newstruct of type structure array then overwrite all values in the fields from the structure oldstruct with new values of the fields from the structure newstruct. Empty values of newstruct will not overwrite values in oldstruct.

For a detailed explanation about valid fields and field values in an OdePkg structure aaray have a look at the odepkg.pdf, Section 'ODE/DAE/IDE/DDE options' or run the command doc odepkg to open the tutorial.

Run examples with the command

          demo odeset

See also: odepkg