Chapter 4 189
Analyzing and Displaying Test Data
Using MATLAB Script in Agilent VEE
Figure 4-11 shows the graph that is produced when the program runs.
Figure 4-11. Graph Generated by the Program
When you include MATLAB Script objects in a VEE program, VEE calls
the MATLAB Script Engine to perform the operations in the MATLAB
Script objects. Information is passed from VEE to MATLAB and back
again. Some notes about MATLAB:
n The first MATLAB Script object that executes in a program opens a
single MATLAB session. All other instances of MATLAB Script objects
share the session. MATLAB Script objects can therefore share global
variables in the MATLAB workspace.