Exporting runs to matlab