# Environment for MATLAB Applications (Operators)

MATLAB Standalone Applications (*.exe) are created using the MATLAB Compiler. The resulting *.exe file can be run without having MATLAB installed on the oscilloscope or PC. To run a MATLAB Standalone Application, you must:

- Install the MATLAB Compiler Runtime (MCR) on the oscilloscope or PC where Infiniium is installed.
- The MCR version must be the same version as was targeted when the MATLAB Application was created.

A simple XML configuration file is used to identify your MATLAB Standalone Applications. In addition to calling the application, the XML file populates the User Operator Setup dialog box.

When the application is run, on each data acquisition:

1. Infiniium makes the source waveform, standard variables and custom variables and controls available to the MATLAB standalone application.
2. Infiniium executes the script.
3. Infiniium retrieves the output waveform and a number of standard output variables from the MATLAB standalone application.