Unable to open a tdms file with uneven chunks

조회 수: 3 (최근 30일)
Aaron Thrasher
Aaron Thrasher 2020년 2월 18일
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