Skip to Main Content Skip to Search
Product Documentation

setFreeVariablesMode - Set how optimization free variables are used

Syntax

options = setFreeVariablesMode(options, modestr)

Description

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

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

When modestr = 'fixed', the user is only allowed to use the number of free variables that are added by the user-defined optimization function.

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