| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Model-Based Calibration |
| Contents | Index |
| Learn more about Model-Based Calibration |
| On this page… |
|---|
You use these functions to set up all your optimization settings in the Options section of the file. You can set up any or all of these seven attributes:
Name
Description
Free variables
Objective functions
Constraints
Helper data sets
Optimization parameters
The following methods are available:
| addFreeVariable | Add free variable to optimization |
| addLinearConstraint | Add linear constraint to optimization |
| addModelConstraint | Add model constraint to optimization |
| addObjective | Add objective to optimization |
| addOperatingPointSet | Add operating point set to optimization |
| addParameter | Add parameter to optimization |
| getConstraints | Return information about all optimization constraints |
| getConstraintsMode | Return current usage of constraints |
| getDescription | Get current description for optimization function |
| getEnabled | Get current enabled status for optimization |
| getFreeVariables | Return optimization free variable labels |
| getFreeVariablesMode | Return current usage of free variables |
| getLinearConstraints | Get linear constraint placeholder information |
| getModelConstraints | Get model constraint placeholder information |
| getName | Get current name label for optimization function |
| getNonlcon | Get nonlinear constraint information |
| getObjectives | Return information about optimization objectives |
| getObjectivesMode | Return current usage of objective functions |
| getOperatingPointSets | Return information about optimization operating point sets |
| getOperatingPointsMode | Return current usage of operating point sets |
| getParameters | Return information about optimization parameters |
| getRunInterfaceVersion | Get preferred interface to provide evaluation function |
| removeConstraint | Remove constraint from optimization |
| removeFreeVariable | Remove free variable from optimization |
| removeObjective | Remove objective from optimization |
| removeOperatingPointSet | Remove operating point set from optimization |
| removeParameter | Remove parameter from optimization |
| setConstraintsMode | Set how optimization constraints are to be used |
| setDescription | Provide description for optimization function |
| setEnabled | Set enabled status for optimization function |
| setFreeVariablesMode | Set how optimization free variables are used |
| setName | Provide name label for optimization function |
| setObjectivesMode | Set how optimization objective functions are used |
| setOperatingPointsMode | Set how optimization operating point sets are used |
| setRunInterfaceVersion | Get preferred interface to provide evaluation function |
The following methods are available:
| evaluate | Evaluate optimization objectives and constraints |
| evaluateConstraint | Evaluate optimization constraints |
| evaluateNonlcon | Evaluate optimization nonlinear constraints |
| evaluateObjective | Evaluate optimization objectives |
| get | Get optimization properties |
| getA | Get linear inequality constraint matrix. |
| getB | Get linear inequality constraint target values. |
| getConstraint | Return constraint labels |
| getDataset | Retrieve data from data set |
| getFreeVariables | Get optimal values of free variables |
| getInitFreeVal | Get initial free values for optimization |
| getLB | Get free variable lower bounds |
| getLcon | Return linear constraint labels |
| getNumConstraint | Return number of constraints per label |
| getNumConstraintLabels | Return number of constraint labels |
| getNumLcon | Return number of linear constraints per label |
| getNumLconLabels | Return number of linear constraint labels |
| getNumNonlcon | Return number of nonlinear constraints per label |
| getNumNonlconLabels | Return number of nonlinear constraint labels |
| getNumObjectiveLabels | Return number of objective labels |
| getNumObjectives | Return number of objectives per label |
| getNumRowsInDataset | Get number of rows in optimization data set |
| getObjectives | Return objective labels for optimization |
| getObjectiveType | Return objective type |
| getOptimOptions | Retrieve optimization options object |
| getOutputInfo | Get output information for optimization |
| getParam | Get optimization parameter |
| getStopState | Current stop state for optimization |
| getUB | Get free variable upper bounds |
| gridEvaluate | Grid evaluation of optimization objectives and constraints |
| gridPevEvaluate | Grid evaluation of prediction error variance (PEV) |
| isScalarFreeVariables | Return whether all free variables are scalars |
| nEvaluate | Natural evaluation of optimization objectives and constraints |
| nEvaluateConstraint | Natural evaluation of optimization constraints |
| nEvaluateNonlcon | Natural evaluation of optimization nonlinear constraints |
| nEvaluateObjective | Natural evaluation of optimization objectives |
| optimset | Create/alter optimization OPTIONS structure |
| pevEvaluate | Evaluate prediction error variance (PEV) |
| setExitStatus | Set exit status information for optimization |
| setFreeVariables | Set optimal values of free variables |
| setOutput | Set diagnostic information for optimization |
| setOutputInfo | Set output information for optimization |
| setStopState | Set current stop state for optimization |
![]() | User-Defined Optimizations | Functions — Alphabetical List | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |