Optimizer.AddStateVariable(String) Method

Top 

Description

Creates a new entry in the Optimizer.StateVariables array with the specified label.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond timing precision mode.

 

Method Signature

Optimizer.AddStateVariable(

String label)

 

 

Arguments

label


Description:

The label for this optimization variable.

 

 

 

Return Value

Type:

number

 

 

Returns the updated number of optimization variables.

 

Syntax

myVariable1 = myOptimizer1.AddStateVariable(myString1);

 

 

See also

Optimizer Object

Optimizer.AddStateVariable