added matlab code equivalent to python + fieldtrip converter

Here is Matlab code that matches the Python one. Plus I added a little function to create a FieldTrip compatible file from the data of the competition. The MEG guys of the Matlab community should like it.