How to use convertTDMS script and what is the most efficient file format to post-process data in MATLAB?
22 次查看(过去 30 天)
显示 更早的评论
Iam working on a vehicle bench marking project and we are gathering GBs of data in .tdms format. I tried using the converTDMS function provided here : https://www.mathworks.com/matlabcentral/fileexchange/44206-converttdms-v10 . However, it throws an error related to a function date2str - "Unable to convert vector to string data". So i decided to convert .tdms to .csv or .xlsx or .xls or tab-delimited using a python script and then convert it to .mat format.
So my queries are as follows:
1.) Is there a solution to convertTDMS function ?
2.) Which file format would be most efficient considering each file to be 5 to 6 GB in size and have around 600 columns of data ? - .csv or .xlsx or .xls or tab-delimited
Any help would be appreciated.
Thanks
0 个评论
回答(1 个)
Sylvain
2020-11-12
You can use this instead: https://uk.mathworks.com/matlabcentral/fileexchange/44206-converttdms-v10
the function TDMS_getStruct(filename) works well if your files are small. However it tends to open the whole file.
you can use other functions to get information on the size of the file and extract the set of data you want, so that you do not open the ful file.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 TDMS Format Files 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!