View Options

You can view the value of a particular option by using dot notation. For example,

options = optimoptions('fmincon','Algorithm','interior-point');

To view the value of the TolX tolerance:

options.TolX
ans =

   1.0000e-10

You can view the value of all options, and see which ones have nondefault values, by entering the options name:

options

Was this topic helpful?