-
From the Applications section of the action bar, click MATLAB
and drop it on
the process diagram.
- Double-click MATLAB .
The MATLAB Editor appears. -
From the MATLAB Editor, click the Contents
tab.
-
Select the desired mapping-type action from the Initialize,
Execution, or Finalize subtabs.
An area for defining the Command appears on the
right side of the editor.
You can edit the name used to identify the Command
action in the Command text box.
-
Enter commands in the Enter MATLAB commands below or upload
an M-Script file text area on the right side of the editor. You can enter the commands directly in the text area or load the commands from an existing MATLAB M-Script file.
-
Click Open, and locate the file that you want
to load.
-
All the M-Scripts are stored in the adapter.
-
Click Open to load the file and to return to
the MATLAB Editor.
-
Click Ok to save your changes and to close the
MATLAB Editor.
|