Currently, a simple interface to communicate between DCS World and MATLAB. This method outputs data from DCS World via Export.lua, and catches it in MATLAB over TCP.
- Copy Export.lua to C:\Users\[USER]\Saved Games\DCS.openbeta\Scripts
- Run STREAM.m in MATLAB and wait for "Waiting for DCS client connection."
- Start the DCS mission (take command of the aircraft within 15 seconds of the "Connected" message from MATLAB).
Notes:
- DCS World will begin running Export.lua only when the flight begins. Changes can be made to Export.lua between flights.
- After the connection between DCS and MATLAB is established, DCS must begin streaming data within 15 seconds or the connection will be closed.