Skip to Main Content Skip to Search
Product Documentation

getConstraints - Return information about all optimization constraints

Syntax

coninfo = getConstraints(obj)

Description

Return information about all optimization constraints. A method of cgoptimoptions.

coninfo = getConstraints(options) returns a structure array of information regarding the optimization constraint functions. coninfo(i).label contains the label for the i-th constraint. A string defining the type of the i-th constraint is stored in coninfo(i).typestr. The constraint parameters are stored in coninfo(i).pars.

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