Hi,
We are having trouble converting some large psdata files to mat format. The file properties are as follows:
picoscope: 6: 6.12.5.2458
No samples: 125,000,004
sample interval: 15 bits
When trying to load the mat file from matlab, we got some error saying "error in using load". The reason we need to access the binary file is that we need to do some post-data-collection analysis such as curve fitting.
Is there a way to handle the conversion of such large files in picoscope 6 --- Such as, when the sample number is over the max number allowed by the Mat format, picoscope 6 can offer some options such as splitting the raw file to two smaller files, and the user can stitch them back together using matlab or other software? Or even just truncating the data when saving as matlab files.
Thanks for your reply. I solved this by first converting the mat4 data from picoscope to mat 5 format using Python. Then I can load the data in matlab with no problem. However, given the number of traces we need to collect per experiment (>100 or so), this process is tedious and time consuming. I wonder if 'saving as Mat 5 file' can be included in the next update of the picoscope 6.
I had similar issues. Just as proof of concept did download GNU Octave and it can open Matlab v4 files and save as v7 for example:
>> load -v4 "somefile.mat"
>> save -v7 "somefile_v7.mat"
Think this could be done from command line also by executing script. Currently no time to investigate further.