Environment for MATLAB Scripts (Operators)

Instrument
DCA-X
N109x
UXR Scope
Flex Apps:
FlexDCA
FlexRT
MATLAB

For MATLAB scripts (*.m), install MATLAB on the 86100D or PC where FlexDCA is running. A simple XML configuration file identifies your measurement script. In addition to calling the script, the XML file populates the User Operator Setup dialog.

MATLAB Applications are created using the MATLAB Compiler. The resulting *.exe file can be run without having MATLAB installed on the 86100D or PC. However, the MATLAB Runtime must be installed on the 86100D or PC where FlexDCA is installed and the MATLAB Runtime version must be the same version as was targeted when the MATLAB Application was created.

When a user measurement is run, on each data acquisition:

  1. FlexDCA pushes standard variables and custom variables and controls into the MATLAB workspace, including the source waveform.
  2. FlexDCA executes the script.
  3. FlexDCA retrieves a number of standard output variables from the MATLAB workspace, including the output waveform.