Double-click the Approximation component icon . The Approximation Component Editor appears.
From the Approximation Component Editor, click
the Parameters tab.
Perform any of the following options, which vary based on your model:
-
Determine which parameters you want to use by selecting the corresponding
check boxes in the first column. Alternatively, you can click Check
to add all the selected parameters. To clear all the parameters, click
Uncheck.
-
If your parameters contain arrays, click the check box next to the array
root to select all members of the array.
If an Approximation component that uses resizable arrays was initialized
at design time and the array dimensions changed at run time prior to
executing the Approximation component, the Approximation component renders
itself not initialized and will re-initialize. In this case it is expected
that the data file contains all the new array elements; otherwise, the
initialization fails because of missing parameters.
If you have not already added parameters or you want to add new parameters,
click Scan.
All parameter names found on the first line of the data file are displayed
in the table. You can select any number of parameters to use as inputs
or outputs. You do not have to select all the parameters in the data
file.
-
Determine the input and output parameters:
- Click the check boxes in the corresponding columns to choose individual
parameters.
- Click multiple parameters by selecting several rows in the parameter
list and clicking Check and selected
rows.
-
Click OK to save your changes and to return to the Parameters
tab
The selected parameters are displayed as input or output parameters.
Click OK to save your changes and to close the
Approximation Component Editor.
|