The function runwinmls.m found in the WinMLS folder can run WinMLS from Matlab. It can be controlled so WinMLS performs a measurement and exits immediately afterwards. To get an explanation on how it is used, open Matlab and change directory to the directory where WinMLS is installed, then write help runwinmls.