Main Content

ddeget

Extract properties from delay differential equations options structure

Syntax

val = ddeget(options,'name')
val = ddeget(options,'name',default)

Description

val = ddeget(options,'name') extracts the value of the named property from the 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.

val = ddeget(options,'name',default) extracts the named property as above, but returns val = default if the named property is not specified in options. For example,

val = ddeget(opts,'RelTol',1e-4);

returns val = 1e-4 if the RelTol is not specified in opts.

Version History

Introduced before R2006a

See Also

| | |