| CAGE User's Guide | ![]() |
Optimization Template
To view the template M-file, at the command line, locate the mbctraining directory and open the file
See Methods of cgoptimoptions for information about setting up the options section.
Evaluate section. Place your optimization routine in here. CAGE calls this section when the Run button is clicked.
Your optimization interacts with CAGE through the cgoptimstore object and must conform to the following syntax:
where <Your_Optimization> is the name of your optimization function.
Any subfunctions called by your optimization routine should also be placed at the bottom of the Evaluate section.
In order to access the information in the cgoptimstore, a number of functions are offered. These are described in the next section, List of Optimization Functions.
If you leave the cgoptimoptions function unchanged, your optimization function must be able to support the default options. That is, your optimization will have:
| About the Worked Example Optimization Algorithm | List of Optimization Functions | ![]() |
Learn more about the latest releases of MathWorks products: |
| © 1994-2009 The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |