ADMITgetOptions
ADMITgetOptions returns the value of a requested option or the default
options (ADMIToptions) object.
OPS = ADMITgetOptions
VALUE = ADMITgetOptions(FIELDNAME)
VALUE = ADMITgetOptions(OPS,FIELDNAME)
Provides the value of the options field FIELDNAME in the structure OPS,
or the default value of that field. If function is called without
parameters, generates default options structure.
Inputs
OPS : valid ADMIToptions object
FIELDNAME : name of the field in the options (provided or default)
Returns
OPS : generated default options structure
VALUE : value that corresponds to the requested field
Examples
% To get default options object one can use
ops = ADMIToptions
% To get default value of the option use
value = ADMITgetOptions('YALMIP.solver')
% To get the value of an option in the object at hand use
ops = ADMITsetOptions('YALMIP.solver','fmincon');
value = ADMITgetOptions(ops,'YALMIP.solver')