| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Optimization Toolbox |
| Contents | Index |
| Learn more about Optimization Toolbox |
optimtool
optimtool(optstruct)
optimtool('solver')
optimtool opens the Optimization tool, a graphical user interface (GUI) for selecting a solver, the optimization options, and running problems. See Optimization Tool for a complete description of the tool.
optimtool can be used to run any Optimization Toolbox solver, and any Genetic Algorithm and Direct Search Toolbox solver. Results can be exported to an M-file or to the MATLAB workspace as a structure.
optimtool(optstruct) starts the Optimization Tool with optstruct. optstruct can either be an optimization options structure or optimization problem structure. An options structure can be created using the optimset function or by using the export option from optimtool. A problem structure can be created or modified in optimtool by exporting the problem information to the MATLAB workspace.
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 solvers are valid inputs to the optimtool function.

For more information on using optimtool, see Optimization Tool.
![]() | optimset | quadprog | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |