Skip to Main Content Skip to Search
Product Documentation

optimtool - Tool to select solver, optimization options, and run problems

Syntax

optimtool
optimtool(optstruct)
optimtool('solver')

Description

optimtool opens the Optimization tool, a graphical user interface (GUI) for selecting a solver, the optimization options, and running problems. See Graphical Optimization Tool for a complete description of the tool.

optimtool can be used to run any Optimization Toolbox solver, and any Global Optimization Toolbox solver. Results can be exported to a file or to the MATLAB workspace as a structure.

optimtool(optstruct) starts the Optimization Tool and loads optstruct. The optstruct structure can be either an optimization options structure or an optimization problem structure. Create an options structure with the optimset function, or by using the export option from the Optimization Tool. Create a problem structure by exporting the problem from the Optimization Tool to the MATLAB workspace. If you have Global Optimization Toolbox, you can create a problem structure with the createOptimProblem function.

optimtool('solver') starts the Optimization Tool with the specified solver, identified as a string, and the corresponding default options and problem fields. All Optimization Toolbox and Global Optimization Toolbox solvers are valid inputs to the optimtool function.

See Also

optimset

How To

  


Free Optimization Interactive Kit

Learn how to use optimization to solve systems of equations, fit models to data, or optimize system performance.

Get free kit

Trials Available

Try the latest version of optimization products.

Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS