parameter

Defines a DOE parameter.

Syntax

parameter(varname, label, nominal, min, max)

or

parameter(varname, label, nominal, str1, str2, str3,...)

Input

varname
The parameter name, also the name of the Templex variable associated with it.
label
The label of the parameter.
nominal
The default parameter value, either a number or a string, depending upon the parameter type.
min
The minimum parameter value.
max
The maximum parameter value.
str1, str2, …
A list of string values.

Example

Example 1
Template:
{parameter (thickness, "Thickness",1.0, 0.8, 1.4)}
{thickness}
Output:
1.0
Example 2
Template:
{parameter(name, "Name", "Anonymous", "Abel", "Baker", "Charley")}
{name}
Output:
Anonymous

Comments

parameter has the effect of creating a Templex variable of name varname and setting it to the nominal value. If used in DOE optimization, parameter defines a range of values for an optimization parameter.

There are two forms of this statement: one for numeric values and one for strings. A numeric parameter is defined by a range of values, while a string parameter is defined by a list.