Unable to open a tdms file with uneven chunks

2 次查看(过去 30 天)
I have been using the tdms reader function for 4 years now and have not had an issue. I have created many functions that use it and have had little problem with it that I could not work around. Recently, I had a new resource that has been producing .tdms files for me to process and every time I try to run through the tdms reader I get the same error which reads as follows:
Error using TDMS_preprocessFile (line 450)
The remaining data doesn't split evently into chunks, estimated # of chunks: 5.000000e-01
Error in TDMS_readTDMSFile (line 226)
metaStruct = TDMS_preprocessFile(fid,tdmsFileName,paramsStruct);
Error in TDMS_getStruct (line 57)
[temp,metaStruct] = TDMS_readTDMSFile(filePath,readOptions{:});
I can foresee that the tdms file is being produced with some uneven completions of data, however when opeing up the tdms file via the excel importer, it does not have any problem opening the file. I'm in a bind in which my only work around is to save the file as an excel document and then import what I need manually. Has anyone come accross this and/or know how to fix this? I am looking for a work around solution in Matlab or some insight on how to prevent this at its source.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Import and Analysis 的更多信息

标签

产品


版本

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by