Hi Jim,
I've encounteered a maddening problem. I have tried to use your function to read my tdms file,but failed. And my file is a little larger, about 60MB.
When I ran your function, it crashed.
The function I used is [output,metaStruct] = TDMS_getStruct(filePath,4);
And the program has ran about 20min,then it crashed.
I gtt the following error:
Warning: Warning: FOR loop index is too large. Truncating to 2147483647.
> In TDMS_readFileHelper_v1 at 66
In TDMS_readTDMSFile at 249
In TDMS_getStruct at 57
Error using TDMS_readFileHelper_v1 (line 184)
Catastrophic error detected, code probably has an error somewhere
Error in TDMS_readTDMSFile (line 249)
data = TDMS_readFileHelper_v1(fid,optionStruct,metaStruct,paramsStruct);
Error in TDMS_getStruct (line 57)
[temp,metaStruct] = TDMS_readTDMSFile(filePath,readOptions{:});
Is it a Matlab version issue or am I missing something else?
Hi,Robert
Now I am encounteering a maddening problem, which is that my TDMS file format version is 2.0. And I have tried to use your function to read this file,but failed.
The command window says "Reference to non-existent field 'rawdataindex'.
Error in convertTDMS_one (line 414)
index(end).rawdataindex=index(end-1).rawdataindex;"
Could you help me solve this problem?
Thank you very much.