ratal / mdfreader

Read Measurement Data Format (MDF) versions 3.x and 4.x file formats in python
Other
169 stars 73 forks source link

Can i read .mat file using mdfreader? #208

Open az299260 opened 10 months ago

az299260 commented 10 months ago

Python version

3.9.6

Platform information

Windows-10-10.0.22621-SP0

Numpy version

1.21.2

mdfreader version

4.1

Description

I have a mat file and i'm able to read it via python, but facing difficulties in resampling the data. Earlier i was able to resample in mdf file from mdfreader but now i have a mat file.

It'll be helpfull if i can either read mat files form mdfreader to write it to mdf or can i directly resample mat file after reading into mdfreader

ratal commented 1 month ago

I am not sure to fully follow but you resample your mdf file before exporting it into mat. mdfreader does not have the feature to read mat file because mat can have very simple to complex data structure. If you want to export matlab data into mdf, you can do by transferring data from mat into expected data format by mdfreader and then write it.