To create a function, you must first define it in the Add New Function dialog box.
Task
|
Procedure
|
Add a function
|
-
On the Model toolbar, click the tool or, on the Model menu, choose Functions.
-
In the Define Functions dialog box, click the Add button.
-
In the Add New Function dialog box, type a function name and select the function type.
|
Define a distribution function
|
-
On the Model menu, choose Functions.
-
In the Define Functions dialog box, select an existing function name.
The function must be previously declared to be a distribution function as explained in the Add a function row above.
-
Specify the number of intervals, and enter a range and value for each interval.
-
Select the Continuous check box to specify a continuous function if desired.
The continuous function option is only available if the function return type is Value.
|
Define a mapping function
|
-
On the Model menu, choose Functions.
-
In the Define Functions dialog box, select an existing function name.
The function must be previously declared to be a mapping function.
-
If the argument type is a number, specify the number of intervals.
-
For each interval, type a range and value.
-
Select the Continuous check box to specify a continuous function if desired.
The continuous function option is only available if the function return type is Value.
-
If the argument is a type, specify a value for each type member, then click OK.
|