optimget - Current optimizer settings

Syntax

opt_settings=optimget(proj)

Description

opt_settings=optimget(proj) returns the current optimization settings object, opt_settings, for the response optimization project proj.

Use optimset to modify the optimization options.

For more information on the settings and their possible values, see the optimset reference page.

Example

Create a new default response optimization project for the model srotut1.

proj=newsro('srotut1','Kint');

Get the optimization settings for this project.

opt_settings=optimget(proj)

This command returns the following list of optimization settings and their current values.

                   Algorithm: 'fmincon'
                     Display: 'iter'
                GradientType: 'basic'
           MaximallyFeasible: 0
                     MaxIter: 100
                      TolCon: 1.0000e-003
                      TolFun: 1.0000e-003
                        TolX: 1.0000e-003
                    Restarts: 0
                 UseParallel: 'never'
    ParallelPathDependencies: {0x1 cell}
                SearchMethod: []

See Also

optimset, simget, simset

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS