I've tried it on a 32bit (XP) and a 64bit (Windows7) System with various TDM/TDMS files.
Depending on the type of input file I get 2 different error messages. For native sample files from NI the reaction is:
>> my_tdms_struct = TDMS_getStruct(filePath);
??? Error using ==> TDMS_processLeadIn at 33
Unexpected lead in header
Error in ==> TDMS_preprocessFile at 179
[flags,info] = TDMS_processLeadIn(fid,lastLetter);
Error in ==> TDMS_readTDMSFile at 223
metaStruct = TDMS_preprocessFile(fid,tdmsFileName,paramsStruct);
Error in ==> TDMS_getStruct at 57
[temp,metaStruct] = TDMS_readTDMSFile(filePath,readOptions{:});
My self-generated TDMS files (read with NI Diadem and Excel importer without problems) gave
??? Subscripted assignment dimension mismatch.
Error in ==> TDMS_preprocessFile at 456
rawDataInfo(curIndex).dataMatrix(indices,2) = ...
Error in ==> TDMS_readTDMSFile at 223
metaStruct = TDMS_preprocessFile(fid,tdmsFileName,paramsStruct);
Error in ==> TDMS_getStruct at 57
[temp,metaStruct] = TDMS_readTDMSFile(filePath,readOptions{:});
Is it a Matlab version issue or am I missing something else?
Best regards,
Andreas
[I'm a different Andreas than the one who posted here before..]