190 Chapter 4
Analyzing and Displaying Test Data
Using MATLAB Script in Agilent VEE
n VEE does not perform any syntax checking of MATLAB commands
before the MATLAB Script Engine is called. Errors and warnings
generated by MATLAB are shown in the regular VEE dialog boxes, just
like any other VEE error or caution.
n Unlike VEE, MATLAB is case sensitive. If you name a MATLAB Script
object input or output terminal with a capital
X, be sure to use a capital X
in MATLAB, not lower-case
x.
n Only some VEE data types are allowed as MATLAB script inputs. This
is discussed in more detail in a following section.
Including a MATLAB Script Object in Agilent VEE
When you use a MATLAB object in a VEE program, it looks like a VEE
Formula object. There are two ways to add a MATLAB Script object to a
program:
1. Select
Device ⇒ MATLAB Script and click to place the object in the
program. This creates a default MATLAB Script object that you can edit
for your purposes.
-OR-
Select Device ⇒
Function & Object Browser, and select Type:
MATLAB Functions
. Choose a predefined MATLAB function and click
Create Formula. Click to place the object in the program. Figure 4-12
shows some predefined MATLAB functions that could be added to a
VEE program.