If this is the case you can follow this workflow. Also how i can retrieve the 4 trials in my data. Read a mat file and write csv without opening matlab.