ADAPTOR GET OPTIONS Get Adaptor OPTIONS parameters.
VAL = adaptorGetOptions(OPTIONS,'NAME')
Extracts the value of the named property from integrator options structure OPTIONS, returning an empty matrix if the property value is not specified in OPTIONS. It is sufficient to type only the leading characters that uniquely identify the property. Case is ignored for property names. [] is a valid OPTIONS argument.
INPUTS:
Options - This is the Options structure from adaptorSetOptions.
Name - This is the name of the field in the structure
Default - This is the default value for that field if one has not been set.
OUTPUTS:
VAL - This is the value of the particular field.
val = adaptorGetOptions(opts,'cr',1.2);
VAL = adaptorGetOptions(OPTIONS,'NAME',DEFAULT) extracts the named property as above, but returns VAL = DEFAULT if the named property is not specified in OPTIONS. For example returns val = 1.2 if the cr property is not specified in opts.
See also ODESET, ODE45, ODE23, ODE113, ODE15S, ODE23S, ODE23T, ODE23TB, ODEGET, ESTSET, ESTGET
undocumented usage for fast access with no error checking
This code was adapted from ODEGET.m developed by Mathworks.
Return to: [MatlabJatAdaptor]