Skip to Main Content Skip to Search
Product Documentation

setEnabled - Set enabled status for optimization function

Syntax

options = setEnabled(options, status)

Description

A method of cgoptimoptions. Sets the optimization function enabled status. status must be true or false. When an optimization is disabled, you can still register it with CAGE but are not allowed to create new optimizations using it.

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