Extract properties from options structure created with bvpset


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


val = bvpget(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 = bvpget(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 = bvpget(options,'RelTol',1e-4);

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

See Also

| | | |

Introduced before R2006a

Was this topic helpful?