-
From the Applications section of the action bar, click MATLAB
and
drop it on the process diagram.
-
Double-click MATLAB
.
The MATLAB Editor appears.
-
Select the desired mapping-type action from the Initialize,
Execution, or Finalize subtabs.
An area for defining the mappings appears on the right side of the editor.
You can edit the name used to identify the action in the Mappings
text box.
-
Click the down-arrow to select an existing Optimization Process Composer
parameter from the parameter list (below the Mappings
text box).
You can enter the name of a new parameter in the text box to create
a new parameter.
-
Click a mapping direction:
-
Mapping To. Represents a mapping from
the Optimization Process Composer
parameter to the MATLAB variable.
- Mapping From. Represents a mapping to the Optimization Process Composer
parameter from the MATLAB variable.
-
Click Add Parameter to add a parameter.
A row appears in the mapping table containing the Optimization Process Composer
parameter, the mapping direction (indicated by an arrow), and the name
of the MATLAB variable. You can click the X button to delete a mapping.
-
Click OK.
|