Skip to Main Content Skip to Search
Product Documentation

setObjectivesMode - Set how optimization objective functions are used

Syntax

options = setObjectivesMode(options, modestr)

Description

A method of cgoptimoptions. Sets the mode that governs whether the user is allowed to set up objectives for the optimization in the CAGE GUI.

When modestr = 'any', the user is allowed to add any number of objectives.

When modestr = 'fixed', the user is only allowed to edit the objectives that are added by the user-defined optimization function.

When modestr = 'multiple', the user is only allowed to run the optimization if he or she has defined two or more objectives.

How To

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

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