Skip to Main Content Skip to Search
Product Documentation

getObjectiveType - Return objective type

Syntax

objType = getObjectiveType(optimstore)
objType = getObjectiveType(optimstore, objLabels)

Description

Return the objective type. A method of cgoptimstore.

objType = getObjectiveType(optimstore) returns the objective type of all the objectives in the optimization. A 1-by-NOBJ cell array is returned, each element being 'min', 'max' or 'helper'.

objType = getObjectiveType(optimstore, objLabels) returns the objective type for the defined 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