Many thanks for this work it's great but I have an issue when I try to read a bigger file : few MB works well but with a 80 MB file I get this error :
"
??? Error using ==> TDMS_processLeadIn at 33
Unexpected lead in header
Error in ==> TDMS_preprocessFile at 179
[flags,info,eof_error] = TDMS_processLeadIn(fid,lastLetter);
Error in ==> TDMS_readTDMSFile at 226
metaStruct = TDMS_preprocessFile(fid,tdmsFileName,paramsStruct);
Error in ==> TDMS_getStruct at 57
[temp,metaStruct] = TDMS_readTDMSFile(filePath,readOptions{:});
"
Anyway it's working great for the smaller files.
Many thanks for this work it's great but I have an issue when I try to read a bigger file : few MB works well but with a 80 MB file I get this error :
"
??? Error using ==> TDMS_processLeadIn at 33
Unexpected lead in header
Error in ==> TDMS_preprocessFile at 179
[flags,info,eof_error] = TDMS_processLeadIn(fid,lastLetter);
Error in ==> TDMS_readTDMSFile at 226
metaStruct = TDMS_preprocessFile(fid,tdmsFileName,paramsStruct);
Error in ==> TDMS_getStruct at 57
[temp,metaStruct] = TDMS_readTDMSFile(filePath,readOptions{:});
"
Anyway it's working great for the smaller files.