Environment for MATLAB Scripts (Operators)
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:
- FlexDCA pushes standard variables and custom variables and controls into the MATLAB workspace, including the source waveform.
- FlexDCA executes the script.
- FlexDCA retrieves a number of standard output variables from the MATLAB workspace, including the output waveform.