Matlab script to interface the BIT@EPI.Dynamics